Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",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.002014/0.002014, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 90.5 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3746/0.3746, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.588e-05, allocations: 4 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4633, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.6388, allocations: 86.96 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.6392, allocations: 83.44 kB / 0.551 GB, free: 12.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02474/0.664, allocations: 5.324 MB / 0.5562 GB, free: 6.832 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.664, allocations: 4 kB / 0.5562 GB, free: 6.828 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.664, allocations: 3.938 kB / 0.5562 GB, free: 6.824 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006555/0.6647, allocations: 394.9 kB / 0.5566 GB, free: 6.395 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6648, allocations: 16.02 kB / 0.5566 GB, free: 6.379 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.141e-05/0.6649, allocations: 7.906 kB / 0.5566 GB, free: 6.371 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.6653, allocations: 217.5 kB / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.6653, allocations: 7.984 kB / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.6654, allocations: 4 kB / 0.5568 GB, free: 6.109 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.641e-05/0.6655, allocations: 16 kB / 0.5568 GB, free: 6.094 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.6656, allocations: 53.61 kB / 0.5569 GB, free: 6.035 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6656, allocations: 0 / 0.5569 GB, free: 6.035 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.6656, allocations: 0 / 0.5569 GB, free: 6.035 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6657, allocations: 0 / 0.5569 GB, free: 6.035 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.6661, allocations: 273.4 kB / 0.5572 GB, free: 5.73 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.6663, allocations: 50.69 kB / 0.5572 GB, free: 5.672 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.6664, allocations: 16.98 kB / 0.5572 GB, free: 5.652 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.6664, allocations: 4 kB / 0.5572 GB, free: 5.648 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.6666, allocations: 67.39 kB / 0.5573 GB, free: 5.57 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.445e-06/0.6666, allocations: 0 / 0.5573 GB, free: 5.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006036/0.6672, allocations: 149.1 kB / 0.5574 GB, free: 5.418 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.6673, allocations: 59.34 kB / 0.5575 GB, free: 5.348 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.6675, allocations: 166.9 kB / 0.5577 GB, free: 5.18 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.6676, allocations: 25.7 kB / 0.5577 GB, free: 5.148 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.6677, allocations: 166.6 kB / 0.5578 GB, free: 4.984 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.6677, allocations: 19.72 kB / 0.5579 GB, free: 4.965 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.6678, allocations: 4 kB / 0.5579 GB, free: 4.961 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6679, allocations: 314.8 kB / 0.5582 GB, free: 4.645 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.668, allocations: 20 kB / 0.5582 GB, free: 4.625 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.6681, allocations: 33.66 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.103e-05/0.6681, allocations: 15.98 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6682, allocations: 4 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002176/0.6684, allocations: 85.66 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.6685, allocations: 12.03 kB / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6685, allocations: 0 / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6685, allocations: 0 / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.6687, allocations: 19.92 kB / 0.5583 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.6687, allocations: 4 kB / 0.5583 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.6688, allocations: 0 / 0.5583 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.6688, allocations: 7.953 kB / 0.5584 GB, free: 4.434 MB / 395.1 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 (10): * Single equations (assignments): 10 * 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.0001095/0.6689, allocations: 109 kB / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002234/0.6692, allocations: 97.52 kB / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.6692, allocations: 11.91 kB / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.6696, allocations: 118.2 kB / 0.5587 GB, free: 4.086 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6696, allocations: 0 / 0.5587 GB, free: 4.086 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6696, allocations: 3.953 kB / 0.5587 GB, free: 4.082 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6696, allocations: 4 kB / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007399/0.6704, allocations: 375.9 kB / 0.559 GB, free: 3.664 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6704, allocations: 0 / 0.559 GB, free: 3.664 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.6705, allocations: 16.12 kB / 0.5591 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6705, allocations: 8.031 kB / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.6705, allocations: 3.984 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.679e-06/0.6706, allocations: 3.953 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6706, allocations: 4 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.6709, allocations: 206 kB / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.671, allocations: 92.92 kB / 0.5594 GB, free: 3.293 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.6711, allocations: 11.95 kB / 0.5594 GB, free: 3.281 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.6712, allocations: 7.922 kB / 0.5594 GB, free: 3.273 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.6712, allocations: 4 kB / 0.5594 GB, free: 3.27 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.6713, allocations: 7.984 kB / 0.5594 GB, free: 3.262 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.6715, allocations: 135.4 kB / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6715, allocations: 0 / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.6719, allocations: 31.98 kB / 0.5595 GB, free: 3.098 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001776/0.6737, allocations: 1.099 MB / 0.5606 GB, free: 2.02 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.6739, allocations: 47.94 kB / 0.5607 GB, free: 1.973 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6739, allocations: 0 / 0.5607 GB, free: 1.973 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.674, allocations: 36.08 kB / 0.5607 GB, free: 1.938 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.6745, allocations: 27.78 kB / 0.5607 GB, free: 1.914 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.6753, allocations: 256.6 kB / 0.561 GB, free: 1.609 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.6757, allocations: 0.7041 MB / 0.5617 GB, free: 0.8789 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.6758, allocations: 35.42 kB / 0.5617 GB, free: 0.8438 MB / 395.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6758, allocations: 0 / 0.5617 GB, free: 0.8438 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.614/3.29, allocations: 2.456 MB / 0.5641 GB, free: 14.39 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat