Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.002073/0.002073, allocations: 181.1 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.48/1.48, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0008739/0.0008735, allocations: 78.64 kB / 261.7 MB, free: 1.68 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.2277/0.2277, allocations: 43.5 MB / 353.2 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.882e-05, allocations: 4 kB / 418.4 MB, free: 28.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 58.86 MB / 477.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5521, allocations: 87.06 MB / 0.5511 GB, free: 7.527 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.5524, allocations: 78.45 kB / 0.5511 GB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0178/0.5702, allocations: 7.758 MB / 0.5587 GB, free: 1.262 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5702, allocations: 4 kB / 0.5587 GB, free: 1.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.5702, allocations: 7.625 kB / 0.5587 GB, free: 1.254 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005378/0.5708, allocations: 0.4991 MB / 0.5592 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5708, allocations: 12.03 kB / 0.5592 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.5709, allocations: 31.58 kB / 0.5593 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.5713, allocations: 299.6 kB / 0.5595 GB, free: 384 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.5713, allocations: 4 kB / 0.5595 GB, free: 380 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.5714, allocations: 7.938 kB / 0.5596 GB, free: 372 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.368e-05/0.5715, allocations: 38.59 kB / 0.5596 GB, free: 344 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.5716, allocations: 88.81 kB / 0.5597 GB, free: 256 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5716, allocations: 0 / 0.5597 GB, free: 256 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5716, allocations: 0 / 0.5597 GB, free: 256 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5716, allocations: 8.703 kB / 0.5597 GB, free: 248 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.5722, allocations: 447.4 kB / 0.5601 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.5724, allocations: 101.6 kB / 0.5602 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.5724, allocations: 32.09 kB / 0.5602 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.5724, allocations: 15.59 kB / 0.5602 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.5726, allocations: 116.7 kB / 0.5604 GB, free: 15.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.522e-06/0.5726, allocations: 0 / 0.5604 GB, free: 15.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007071/0.5733, allocations: 323.6 kB / 0.5607 GB, free: 15.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.5734, allocations: 88.98 kB / 0.5608 GB, free: 15.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.5739, allocations: 412.2 kB / 0.5611 GB, free: 14.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.5739, allocations: 29.7 kB / 0.5612 GB, free: 14.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.574, allocations: 159.5 kB / 0.5613 GB, free: 14.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.5741, allocations: 49.55 kB / 0.5614 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.5741, allocations: 4 kB / 0.5614 GB, free: 14.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5743, allocations: 347 kB / 0.5617 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.5744, allocations: 33.31 kB / 0.5617 GB, free: 14.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.5744, allocations: 62.67 kB / 0.5618 GB, free: 14.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.5745, allocations: 46.91 kB / 0.5618 GB, free: 14.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5745, allocations: 0 / 0.5618 GB, free: 14.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002363/0.5748, allocations: 170.4 kB / 0.562 GB, free: 14.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5748, allocations: 8 kB / 0.562 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5748, allocations: 0 / 0.562 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5748, allocations: 0 / 0.562 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.575, allocations: 35.92 kB / 0.5621 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.575, allocations: 0 / 0.5621 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.5751, allocations: 11.98 kB / 0.5621 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.5751, allocations: 7.938 kB / 0.5621 GB, free: 14.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.077e-05/0.5752, allocations: 113 kB / 0.5622 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002456/0.5755, allocations: 174.9 kB / 0.5623 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.5755, allocations: 31.62 kB / 0.5624 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.5759, allocations: 206.9 kB / 0.5626 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5759, allocations: 4 kB / 0.5626 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5759, allocations: 0 / 0.5626 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5759, allocations: 0 / 0.5626 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/0.5767, allocations: 0.6549 MB / 0.5632 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5767, allocations: 4 kB / 0.5632 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.5768, allocations: 27.73 kB / 0.5632 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5768, allocations: 0 / 0.5632 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.5768, allocations: 4.188 kB / 0.5632 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5768, allocations: 4 kB / 0.5633 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5768, allocations: 3.938 kB / 0.5633 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.5772, allocations: 411.9 kB / 0.5636 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.5773, allocations: 120.7 kB / 0.5638 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.5774, allocations: 15.69 kB / 0.5638 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.5775, allocations: 12 kB / 0.5638 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.5776, allocations: 7.984 kB / 0.5638 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.5776, allocations: 19.67 kB / 0.5638 GB, free: 12.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003241/0.5779, allocations: 331.4 kB / 0.5641 GB, free: 12.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.578, allocations: 0 / 0.5641 GB, free: 12.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.5783, allocations: 51.94 kB / 0.5642 GB, free: 12.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001783/0.5801, allocations: 1.421 MB / 0.5656 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.5803, allocations: 107.8 kB / 0.5657 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5803, allocations: 4.125 kB / 0.5657 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.5804, allocations: 62.97 kB / 0.5657 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.5809, allocations: 49.11 kB / 0.5658 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.5819, allocations: 0.5273 MB / 0.5663 GB, free: 9.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.5823, allocations: 0.7749 MB / 0.5671 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.5825, allocations: 49.7 kB / 0.5671 GB, free: 9.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.5826, allocations: 89.03 kB / 0.5672 GB, free: 9.086 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5826, allocations: 0 / 0.5672 GB, free: 9.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.6109, allocations: 5.385 MB / 0.5724 GB, free: 3.711 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.6111, allocations: 160.9 kB / 0.5726 GB, free: 3.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.683, allocations: 0 / 0.5726 GB, free: 3.52 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat