Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.001506/0.001506, 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.557/1.557, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008863/0.0008863, allocations: 82.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.2138/0.2138, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.154e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5553, allocations: 86.79 MB / 0.5508 GB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5556, allocations: 80.17 kB / 0.5509 GB, free: 7.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01252/0.5681, allocations: 5.171 MB / 0.5559 GB, free: 3.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5682, allocations: 3.938 kB / 0.5559 GB, free: 3.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.5682, allocations: 0 / 0.5559 GB, free: 3.688 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003511/0.5685, allocations: 388.9 kB / 0.5563 GB, free: 3.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5686, allocations: 16.03 kB / 0.5563 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.5686, allocations: 7.906 kB / 0.5563 GB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.5689, allocations: 218.4 kB / 0.5565 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.5689, allocations: 0 / 0.5565 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.5689, allocations: 0 / 0.5565 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.216e-05/0.569, allocations: 15.11 kB / 0.5565 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.625e-05/0.5691, allocations: 45.06 kB / 0.5566 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5691, allocations: 0 / 0.5566 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.5691, allocations: 0 / 0.5566 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5691, allocations: 0 / 0.5566 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.5693, allocations: 166.1 kB / 0.5567 GB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.5694, allocations: 48.75 kB / 0.5568 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.5694, allocations: 20.61 kB / 0.5568 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.5694, allocations: 4.078 kB / 0.5568 GB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.5695, allocations: 62.02 kB / 0.5569 GB, free: 2.621 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.5695, allocations: 4 kB / 0.5569 GB, free: 2.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001696/0.5697, allocations: 75.83 kB / 0.557 GB, free: 2.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.5697, allocations: 51.41 kB / 0.557 GB, free: 2.484 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.5699, allocations: 171.5 kB / 0.5572 GB, free: 2.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.5699, allocations: 29.7 kB / 0.5572 GB, free: 2.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.5699, allocations: 98.31 kB / 0.5573 GB, free: 2.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.57, allocations: 15.38 kB / 0.5573 GB, free: 2.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.57, allocations: 3.938 kB / 0.5573 GB, free: 2.195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.57, allocations: 326.4 kB / 0.5576 GB, free: 1.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.5701, allocations: 18.69 kB / 0.5576 GB, free: 1.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.5701, allocations: 24.55 kB / 0.5577 GB, free: 1.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.5701, allocations: 18.86 kB / 0.5577 GB, free: 1.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5701, allocations: 0 / 0.5577 GB, free: 1.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.314e-05/0.5702, allocations: 75.17 kB / 0.5577 GB, free: 1.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5703, allocations: 4 kB / 0.5577 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5703, allocations: 0 / 0.5577 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5703, allocations: 8.031 kB / 0.5578 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.5704, allocations: 15.92 kB / 0.5578 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5704, allocations: 0 / 0.5578 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.5704, allocations: 4 kB / 0.5578 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5705, allocations: 0 / 0.5578 GB, free: 1.723 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.047e-05/0.5705, allocations: 105 kB / 0.5579 GB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.88e-05/0.5706, allocations: 90.88 kB / 0.558 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.5706, allocations: 11.91 kB / 0.558 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.5708, allocations: 96.78 kB / 0.5581 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5708, allocations: 0 / 0.5581 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5708, allocations: 0 / 0.5581 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5708, allocations: 0 / 0.5581 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.56e-05/0.5709, allocations: 162.9 kB / 0.5582 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5709, allocations: 3.953 kB / 0.5582 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.5709, allocations: 4 kB / 0.5582 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.571, allocations: 0 / 0.5582 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.571, allocations: 0 / 0.5582 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.571, allocations: 4 kB / 0.5582 GB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.571, allocations: 3.984 kB / 0.5582 GB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.5711, allocations: 108.7 kB / 0.5583 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.5711, allocations: 96.86 kB / 0.5584 GB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.5712, allocations: 4 kB / 0.5584 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.5712, allocations: 0 / 0.5584 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.5713, allocations: 10.98 kB / 0.5584 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.5713, allocations: 0 / 0.5584 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.689e-05/0.5714, allocations: 132.4 kB / 0.5586 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.5714, allocations: 4 kB / 0.5586 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.5716, allocations: 35.05 kB / 0.5586 GB, free: 0.8477 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009132/0.5725, allocations: 0.8902 MB / 0.5595 GB, free: 16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.5726, allocations: 35.75 kB / 0.5595 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5726, allocations: 0 / 0.5595 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.5727, allocations: 16.69 kB / 0.5595 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.5729, allocations: 22.84 kB / 0.5596 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.5734, allocations: 194 kB / 0.5597 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.5737, allocations: 0.7041 MB / 0.5604 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.076e-05/0.5737, allocations: 20.36 kB / 0.5604 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.5738, allocations: 28.48 kB / 0.5605 GB, free: 14.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5738, allocations: 0 / 0.5605 GB, free: 14.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.5963, allocations: 2.357 MB / 0.5628 GB, free: 12.62 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.5966, allocations: 170.5 kB / 0.5629 GB, free: 12.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/2.049, allocations: 0 / 0.5629 GB, free: 12.42 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat