Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009129/0.0009131, allocations: 86.22 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2008/0.2008, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.913e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.388/0.511, allocations: 87.43 MB / 0.5514 GB, free: 7.582 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.5112, allocations: 71.69 kB / 0.5515 GB, free: 7.547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03142/0.5427, allocations: 11.68 MB / 0.5629 GB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5427, allocations: 0 / 0.5629 GB, free: 14.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.5428, allocations: 12 kB / 0.5629 GB, free: 14.06 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002173/0.5449, allocations: 0.8916 MB / 0.5638 GB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.545, allocations: 15.97 kB / 0.5638 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.5452, allocations: 64.11 kB / 0.5638 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.5457, allocations: 360.3 kB / 0.5642 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/0.5462, allocations: 255.4 kB / 0.5644 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/0.5463, allocations: 27.91 kB / 0.5644 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/0.5475, allocations: 0.8053 MB / 0.5652 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008692/0.5484, allocations: 0.5671 MB / 0.5658 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.5484, allocations: 4 kB / 0.5658 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.5485, allocations: 0 / 0.5658 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.5485, allocations: 8 kB / 0.5658 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.5513, allocations: 2.01 MB / 0.5678 GB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.5527, allocations: 0.5604 MB / 0.5683 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.5531, allocations: 299 kB / 0.5686 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.904e-05/0.5532, allocations: 16.48 kB / 0.5686 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.5532, allocations: 38.5 kB / 0.5686 GB, free: 9.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.376e-06/0.5533, allocations: 3.938 kB / 0.5686 GB, free: 9.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.01974/0.573, allocations: 7.111 MB / 0.5756 GB, free: 3.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.5731, allocations: 94.19 kB / 0.5757 GB, free: 3.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.5736, allocations: 348.6 kB / 0.576 GB, free: 3.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.5738, allocations: 29.7 kB / 0.576 GB, free: 3.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.574, allocations: 219.9 kB / 0.5763 GB, free: 3.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.5744, allocations: 387.1 kB / 0.5766 GB, free: 2.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5745, allocations: 0 / 0.5766 GB, free: 2.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5747, allocations: 371.6 kB / 0.577 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.576, allocations: 0.9476 MB / 0.5779 GB, free: 1.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.5774, allocations: 1.093 MB / 0.579 GB, free: 1.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.5785, allocations: 0.7937 MB / 0.5797 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.5785, allocations: 0 / 0.5797 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003172/0.5817, allocations: 1.999 MB / 0.5817 GB, free: 15.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.5817, allocations: 8.312 kB / 0.5817 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.5818, allocations: 8 kB / 0.5817 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.5818, allocations: 8 kB / 0.5817 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.5847, allocations: 461.1 kB / 0.5822 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.421e-05/0.5847, allocations: 12 kB / 0.5822 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.5869, allocations: 267.5 kB / 0.5824 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.5871, allocations: 35.12 kB / 0.5825 GB, free: 14.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase,integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004563/0.5875, allocations: 132.5 kB / 0.5826 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002905/0.5904, allocations: 1.7 MB / 0.5842 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.5907, allocations: 63.25 kB / 0.5843 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.591, allocations: 99.33 kB / 0.5844 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.591, allocations: 12 kB / 0.5844 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.591, allocations: 3.953 kB / 0.5844 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.591, allocations: 3.984 kB / 0.5844 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008918/0.6, allocations: 4.562 MB / 0.5889 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/0.6, allocations: 23.94 kB / 0.5889 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.6017, allocations: 420.1 kB / 0.5893 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-05/0.6018, allocations: 31.95 kB / 0.5893 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.028e-05/0.6018, allocations: 28 kB / 0.5894 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.061e-05/0.6019, allocations: 39.86 kB / 0.5894 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.339e-05/0.6019, allocations: 31.88 kB / 0.5894 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/0.6059, allocations: 3.241 MB / 0.5926 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.6063, allocations: 252.2 kB / 0.5928 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6065, allocations: 31.98 kB / 0.5929 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.608, allocations: 231.8 kB / 0.5931 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/0.6084, allocations: 247.2 kB / 0.5933 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.085e-05/0.6085, allocations: 56 kB / 0.5934 GB, free: 4.172 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003522/0.6089, allocations: 260.6 kB / 0.5936 GB, free: 3.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6089, allocations: 3.938 kB / 0.5936 GB, free: 3.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001114/0.61, allocations: 195.9 kB / 0.5938 GB, free: 3.727 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007501/0.6175, allocations: 10.21 MB / 0.6038 GB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.6205, allocations: 1.614 MB / 0.6054 GB, free: 7.238 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.952e-05/0.6206, allocations: 4 kB / 0.6054 GB, free: 7.234 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.6225, allocations: 0.7439 MB / 0.6061 GB, free: 6.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6235, allocations: 106.6 kB / 0.6062 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.6276, allocations: 1.739 MB / 0.6079 GB, free: 4.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.6283, allocations: 0.9362 MB / 0.6088 GB, free: 3.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001324/0.6296, allocations: 194 kB / 0.609 GB, free: 3.164 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007306/0.6303, allocations: 215.4 kB / 0.6092 GB, free: 2.953 MB / 410.7 MB Notification: Performance of SimCode: time 2.815e-06/0.6303, allocations: 0 / 0.6092 GB, free: 2.953 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/0.6772, allocations: 19.43 MB / 0.6282 GB, free: 15.52 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.6774, allocations: 124.4 kB / 0.6283 GB, free: 15.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.456, allocations: 0 / 0.6283 GB, free: 15.32 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat