Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.00114/0.00114, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001015, allocations: 85.56 kB / 267 MB, free: 9.277 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.3659/0.3659, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.909e-05/3.923e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1285, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.5298, allocations: 88.41 MB / 0.5592 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.5301, allocations: 73.31 kB / 0.5593 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.5492, allocations: 6.921 MB / 0.5661 GB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5493, allocations: 7.984 kB / 0.5661 GB, free: 11.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.5493, allocations: 0 / 0.5661 GB, free: 11.29 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006013/0.5499, allocations: 0.5014 MB / 0.5666 GB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.55, allocations: 8.031 kB / 0.5666 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.55, allocations: 38.06 kB / 0.5666 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.5501, allocations: 32.83 kB / 0.5667 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.5507, allocations: 281.1 kB / 0.5669 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.5507, allocations: 8.188 kB / 0.5669 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.5507, allocations: 4 kB / 0.5669 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.5509, allocations: 100.4 kB / 0.567 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.551, allocations: 0 / 0.567 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.551, allocations: 7.359 kB / 0.567 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.551, allocations: 1.375 kB / 0.567 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.489e-05/0.5511, allocations: 43.55 kB / 0.5671 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.5517, allocations: 385.5 kB / 0.5674 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.5519, allocations: 122.6 kB / 0.5676 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.552, allocations: 40.98 kB / 0.5676 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.552, allocations: 4.078 kB / 0.5676 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.5522, allocations: 123.2 kB / 0.5677 GB, free: 9.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.5522, allocations: 0 / 0.5677 GB, free: 9.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000285/0.5525, allocations: 147 kB / 0.5679 GB, free: 9.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.5526, allocations: 110.7 kB / 0.568 GB, free: 9.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.5528, allocations: 301.6 kB / 0.5683 GB, free: 9.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.5529, allocations: 27.67 kB / 0.5683 GB, free: 9.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.553, allocations: 143.4 kB / 0.5684 GB, free: 8.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.553, allocations: 30.95 kB / 0.5684 GB, free: 8.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.553, allocations: 0 / 0.5684 GB, free: 8.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5531, allocations: 337.1 kB / 0.5688 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.5532, allocations: 30.56 kB / 0.5688 GB, free: 8.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/0.5533, allocations: 76.77 kB / 0.5689 GB, free: 8.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/0.5533, allocations: 35.98 kB / 0.5689 GB, free: 8.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5534, allocations: 4 kB / 0.5689 GB, free: 8.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001885/0.5536, allocations: 146 kB / 0.569 GB, free: 8.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5536, allocations: 8 kB / 0.5691 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5536, allocations: 0 / 0.5691 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.5536, allocations: 0 / 0.5691 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5537, allocations: 27.42 kB / 0.5691 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5537, allocations: 4.062 kB / 0.5691 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.634e-05/0.5538, allocations: 15.94 kB / 0.5691 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5539, allocations: 7.125 kB / 0.5691 GB, free: 8.305 MB / 394.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.259e-05/0.5539, allocations: 121.6 kB / 0.5692 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.554, allocations: 27.72 kB / 0.5693 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.5543, allocations: 167.2 kB / 0.5694 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.5543, allocations: 0 / 0.5694 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5543, allocations: 5.219 kB / 0.5694 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5543, allocations: 4 kB / 0.5694 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.5545, allocations: 274.4 kB / 0.5697 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5545, allocations: 0 / 0.5697 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.5545, allocations: 15.92 kB / 0.5697 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5545, allocations: 4 kB / 0.5697 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.5546, allocations: 0 / 0.5697 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5546, allocations: 0 / 0.5697 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5546, allocations: 4 kB / 0.5697 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.5548, allocations: 199.6 kB / 0.5699 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.5549, allocations: 118.7 kB / 0.57 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.5549, allocations: 0 / 0.57 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.555, allocations: 11.12 kB / 0.57 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.5551, allocations: 15.11 kB / 0.57 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.5551, allocations: 7.984 kB / 0.57 GB, free: 7.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002458/0.5554, allocations: 252.6 kB / 0.5703 GB, free: 7.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5554, allocations: 0 / 0.5703 GB, free: 7.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.5556, allocations: 46.38 kB / 0.5703 GB, free: 7.121 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001249/0.5569, allocations: 1.083 MB / 0.5714 GB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.5571, allocations: 94.67 kB / 0.5715 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.5571, allocations: 0 / 0.5715 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.5572, allocations: 53.73 kB / 0.5715 GB, free: 6.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.5575, allocations: 62.28 kB / 0.5716 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.5582, allocations: 373.7 kB / 0.5719 GB, free: 5.605 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.5584, allocations: 0.762 MB / 0.5727 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.356e-05/0.5585, allocations: 29.69 kB / 0.5727 GB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5586, allocations: 70.16 kB / 0.5728 GB, free: 4.766 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5586, allocations: 0 / 0.5728 GB, free: 4.766 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.5747, allocations: 5.178 MB / 0.5778 GB, free: 15.62 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.5749, allocations: 187.5 kB / 0.578 GB, free: 15.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.56, allocations: 0 / 0.578 GB, free: 15.39 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat