Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",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.002044/0.002044, allocations: 179.4 kB / 8.364 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.225/2.225, 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.001097/0.001097, allocations: 98.47 kB / 262.1 MB, free: 13.88 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.3011/0.3011, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 4.12e-05/4.146e-05, allocations: 11.98 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4522, allocations: 58.85 MB / 477.2 MB, free: 5.18 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.6282, allocations: 86.91 MB / 0.5509 GB, free: 12.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.6286, allocations: 75.95 kB / 0.551 GB, free: 12.22 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02466/0.6533, allocations: 5.349 MB / 0.5562 GB, free: 6.871 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6533, allocations: 0 / 0.5562 GB, free: 6.871 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.6534, allocations: 4 kB / 0.5562 GB, free: 6.867 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.0006402/0.654, allocations: 410.8 kB / 0.5566 GB, free: 6.422 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.6541, allocations: 8.031 kB / 0.5566 GB, free: 6.414 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.6541, allocations: 15.81 kB / 0.5566 GB, free: 6.398 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.6546, allocations: 210.8 kB / 0.5568 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.6546, allocations: 4 kB / 0.5568 GB, free: 6.148 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.6546, allocations: 0 / 0.5568 GB, free: 6.148 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.785e-05/0.6548, allocations: 19.98 kB / 0.5568 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.6549, allocations: 53.62 kB / 0.5569 GB, free: 6.07 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6549, allocations: 0 / 0.5569 GB, free: 6.07 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.6549, allocations: 7.984 kB / 0.5569 GB, free: 6.062 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.655, allocations: 0 / 0.5569 GB, free: 6.062 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.6555, allocations: 281.3 kB / 0.5571 GB, free: 5.75 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.6556, allocations: 54.62 kB / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.6557, allocations: 16.98 kB / 0.5572 GB, free: 5.668 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.6557, allocations: 0 / 0.5572 GB, free: 5.668 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.6559, allocations: 75.27 kB / 0.5573 GB, free: 5.582 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.6559, allocations: 0 / 0.5573 GB, free: 5.582 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006135/0.6565, allocations: 145.2 kB / 0.5574 GB, free: 5.434 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.6566, allocations: 55.34 kB / 0.5575 GB, free: 5.367 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.6569, allocations: 189.5 kB / 0.5577 GB, free: 5.172 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.657, allocations: 29.7 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.6571, allocations: 162.6 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.6571, allocations: 27.7 kB / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.6571, allocations: 0 / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6573, allocations: 314.8 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.6574, allocations: 16 kB / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.6575, allocations: 33.7 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.6575, allocations: 16 kB / 0.5582 GB, free: 4.562 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.6576, allocations: 4 kB / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002373/0.6578, allocations: 97.5 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.6579, allocations: 8 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6579, allocations: 0 / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6579, allocations: 0 / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.6581, allocations: 12.19 kB / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.6581, allocations: 4 kB / 0.5584 GB, free: 4.434 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.6582, allocations: 11.92 kB / 0.5584 GB, free: 4.422 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.6582, allocations: 7.953 kB / 0.5584 GB, free: 4.414 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.0001125/0.6583, allocations: 108.9 kB / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002265/0.6586, allocations: 93.61 kB / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.6586, allocations: 11.81 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.6589, allocations: 115.4 kB / 0.5587 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.659, allocations: 0 / 0.5587 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.659, allocations: 3.953 kB / 0.5587 GB, free: 4.07 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.659, allocations: 288 / 0.5587 GB, free: 4.07 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.6596, allocations: 383.9 kB / 0.5591 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6597, allocations: 4.031 kB / 0.5591 GB, free: 3.645 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.6597, allocations: 11.94 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.6598, allocations: 0 / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.6598, allocations: 4 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.6598, allocations: 8.25 kB / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6598, allocations: 0 / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.6601, allocations: 221.8 kB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.6603, allocations: 89.02 kB / 0.5594 GB, free: 3.273 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.6603, allocations: 7.953 kB / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.6605, allocations: 3.984 kB / 0.5594 GB, free: 3.262 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.6605, allocations: 4 kB / 0.5594 GB, free: 3.258 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.6605, allocations: 8 kB / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.6608, allocations: 156.2 kB / 0.5596 GB, free: 3.098 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6608, allocations: 0 / 0.5596 GB, free: 3.098 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.6612, allocations: 24 kB / 0.5596 GB, free: 3.074 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.001762/0.663, allocations: 1.118 MB / 0.5607 GB, free: 1.98 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.6632, allocations: 51.98 kB / 0.5607 GB, free: 1.93 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6633, allocations: 0 / 0.5607 GB, free: 1.93 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.6634, allocations: 31.94 kB / 0.5607 GB, free: 1.898 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.6638, allocations: 27.97 kB / 0.5608 GB, free: 1.871 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.6646, allocations: 277.2 kB / 0.561 GB, free: 1.555 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.665, allocations: 0.7118 MB / 0.5617 GB, free: 0.8164 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.6651, allocations: 39.42 kB / 0.5618 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6651, allocations: 0 / 0.5618 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.759/3.424, allocations: 2.579 MB / 0.5643 GB, free: 14.21 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat