Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",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.002309/0.002309, allocations: 185.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.259/2.259, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001223/0.001223, allocations: 89.55 kB / 270.9 MB, free: 8.387 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.5341/0.5341, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.00048, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1435, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4871/0.6307, allocations: 87.71 MB / 0.5645 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.6311, allocations: 75.95 kB / 0.5646 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02672/0.6578, allocations: 5.643 MB / 0.5701 GB, free: 9.016 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6579, allocations: 4 kB / 0.5701 GB, free: 9.012 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.6579, allocations: 0.6562 kB / 0.5701 GB, free: 9.012 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000729/0.6587, allocations: 445.6 kB / 0.5705 GB, free: 8.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.6587, allocations: 12.03 kB / 0.5705 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.29e-05/0.6588, allocations: 34.56 kB / 0.5705 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.6589, allocations: 19.25 kB / 0.5706 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.6593, allocations: 219.6 kB / 0.5708 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.6593, allocations: 0 / 0.5708 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.6594, allocations: 7.984 kB / 0.5708 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.6596, allocations: 54.42 kB / 0.5708 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.6596, allocations: 3.938 kB / 0.5708 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6596, allocations: 4 kB / 0.5708 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.6597, allocations: 1.031 kB / 0.5708 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.6598, allocations: 27.92 kB / 0.5709 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.6603, allocations: 312.7 kB / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.6606, allocations: 58.67 kB / 0.5712 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.6606, allocations: 0 / 0.5712 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.6609, allocations: 75.45 kB / 0.5713 GB, free: 7.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.6609, allocations: 0 / 0.5713 GB, free: 7.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008272/0.6617, allocations: 185 kB / 0.5715 GB, free: 7.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.6618, allocations: 51.41 kB / 0.5715 GB, free: 7.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.6622, allocations: 222.9 kB / 0.5717 GB, free: 7.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.6622, allocations: 25.7 kB / 0.5718 GB, free: 7.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.6623, allocations: 174.5 kB / 0.5719 GB, free: 6.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.6624, allocations: 23.66 kB / 0.572 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.6624, allocations: 4 kB / 0.572 GB, free: 6.891 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6625, allocations: 310.8 kB / 0.5723 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.6627, allocations: 23.98 kB / 0.5723 GB, free: 6.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.6628, allocations: 33.7 kB / 0.5723 GB, free: 6.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.6629, allocations: 23.98 kB / 0.5723 GB, free: 6.492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.6629, allocations: 4 kB / 0.5723 GB, free: 6.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003144/0.6632, allocations: 95.16 kB / 0.5724 GB, free: 6.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.6633, allocations: 8 kB / 0.5724 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6633, allocations: 0 / 0.5724 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.6633, allocations: 0 / 0.5724 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.6635, allocations: 19.92 kB / 0.5724 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.6635, allocations: 7.953 kB / 0.5725 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.254e-05/0.6636, allocations: 4 kB / 0.5725 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.6636, allocations: 4 kB / 0.5725 GB, free: 6.348 MB / 394.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 () * Number of clocked 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.0001607/0.6638, allocations: 130 kB / 0.5726 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.6639, allocations: 23.84 kB / 0.5726 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.6643, allocations: 135 kB / 0.5727 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.6643, allocations: 4 kB / 0.5727 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6643, allocations: 0 / 0.5727 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6643, allocations: 3.953 kB / 0.5727 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.6651, allocations: 427.2 kB / 0.5732 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6651, allocations: 7.938 kB / 0.5732 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.6652, allocations: 16.02 kB / 0.5732 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.6652, allocations: 0 / 0.5732 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.6652, allocations: 4 kB / 0.5732 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.6653, allocations: 3.953 kB / 0.5732 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6653, allocations: 0 / 0.5732 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.6657, allocations: 222.2 kB / 0.5734 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.6658, allocations: 97 kB / 0.5735 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.6658, allocations: 7.953 kB / 0.5735 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.666, allocations: 15.98 kB / 0.5735 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.666, allocations: 4 kB / 0.5735 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.666, allocations: 3.938 kB / 0.5735 GB, free: 5.152 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.6663, allocations: 188.2 kB / 0.5737 GB, free: 4.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6663, allocations: 0 / 0.5737 GB, free: 4.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.6667, allocations: 39.94 kB / 0.5737 GB, free: 4.93 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * 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.00211/0.6689, allocations: 1.2 MB / 0.5749 GB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.6693, allocations: 59.91 kB / 0.575 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6693, allocations: 0 / 0.575 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.6695, allocations: 31.98 kB / 0.575 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.6699, allocations: 28.72 kB / 0.575 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.6722, allocations: 1.022 MB / 0.576 GB, free: 2.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.6726, allocations: 0.7199 MB / 0.5767 GB, free: 1.863 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.6728, allocations: 39.42 kB / 0.5768 GB, free: 1.828 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6728, allocations: 0 / 0.5768 GB, free: 1.828 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.879/3.552, allocations: 2.754 MB / 0.5795 GB, free: 15.08 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat