Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",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.002223/0.002222, allocations: 180.2 kB / 8.366 MB, free: 0.7109 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.105/2.105, 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.001147/0.001147, allocations: 90.66 kB / 262.1 MB, free: 13.86 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.3062/0.3062, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.54e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4306, allocations: 58.86 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.6033, allocations: 87.07 MB / 0.551 GB, free: 12.21 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.6037, allocations: 71.95 kB / 0.5511 GB, free: 12.14 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03598/0.6397, allocations: 7.767 MB / 0.5587 GB, free: 4.367 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6398, allocations: 0 / 0.5587 GB, free: 4.367 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.78e-05/0.6398, allocations: 4 kB / 0.5587 GB, free: 4.363 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009767/0.6408, allocations: 0.4982 MB / 0.5592 GB, free: 3.82 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.6409, allocations: 12.03 kB / 0.5592 GB, free: 3.809 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.641, allocations: 35.56 kB / 0.5592 GB, free: 3.773 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007833/0.6418, allocations: 303.8 kB / 0.5595 GB, free: 3.438 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.6419, allocations: 4 kB / 0.5595 GB, free: 3.434 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.6419, allocations: 7.984 kB / 0.5595 GB, free: 3.426 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001624/0.6421, allocations: 35.98 kB / 0.5596 GB, free: 3.391 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.6423, allocations: 87.31 kB / 0.5596 GB, free: 3.293 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6424, allocations: 0 / 0.5596 GB, free: 3.293 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.6424, allocations: 0 / 0.5596 GB, free: 3.293 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.6424, allocations: 7.953 kB / 0.5597 GB, free: 3.285 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.6433, allocations: 453.5 kB / 0.5601 GB, free: 2.801 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.6436, allocations: 101.4 kB / 0.5602 GB, free: 2.684 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.6437, allocations: 45.83 kB / 0.5602 GB, free: 2.633 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.6438, allocations: 4 kB / 0.5602 GB, free: 2.629 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.644, allocations: 104.9 kB / 0.5603 GB, free: 2.508 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.836e-06/0.6441, allocations: 0 / 0.5603 GB, free: 2.508 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001103/0.6452, allocations: 327.7 kB / 0.5606 GB, free: 2.18 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.6453, allocations: 85.11 kB / 0.5607 GB, free: 2.078 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008368/0.6461, allocations: 414.3 kB / 0.5611 GB, free: 1.668 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.6462, allocations: 29.7 kB / 0.5611 GB, free: 1.633 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.6463, allocations: 198.8 kB / 0.5613 GB, free: 1.434 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/0.6464, allocations: 55.28 kB / 0.5614 GB, free: 1.379 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.6464, allocations: 0 / 0.5614 GB, free: 1.379 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6466, allocations: 310.8 kB / 0.5617 GB, free: 1.066 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.6467, allocations: 36 kB / 0.5617 GB, free: 1.031 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.6469, allocations: 67.42 kB / 0.5618 GB, free: 0.9531 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.647, allocations: 48.11 kB / 0.5618 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6471, allocations: 0 / 0.5618 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004022/0.6475, allocations: 149.4 kB / 0.562 GB, free: 0.7539 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6475, allocations: 4 kB / 0.562 GB, free: 0.75 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6475, allocations: 0 / 0.562 GB, free: 0.75 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.6476, allocations: 4 kB / 0.562 GB, free: 0.7461 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.6479, allocations: 32.05 kB / 0.562 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.6479, allocations: 4 kB / 0.562 GB, free: 0.7109 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.6481, allocations: 7.984 kB / 0.562 GB, free: 0.7031 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.6481, allocations: 12 kB / 0.562 GB, free: 0.6914 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001354/0.6483, allocations: 108.9 kB / 0.5621 GB, free: 0.5781 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004689/0.6488, allocations: 177.2 kB / 0.5623 GB, free: 408 kB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.6488, allocations: 35.61 kB / 0.5623 GB, free: 372 kB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/0.6495, allocations: 204.8 kB / 0.5625 GB, free: 160 kB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.6495, allocations: 0 / 0.5625 GB, free: 160 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6495, allocations: 0 / 0.5625 GB, free: 160 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.6495, allocations: 3.984 kB / 0.5625 GB, free: 156 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.6509, allocations: 0.6521 MB / 0.5632 GB, free: 15.45 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6509, allocations: 0 / 0.5632 GB, free: 15.45 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.6511, allocations: 32.03 kB / 0.5632 GB, free: 15.42 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.6511, allocations: 7.938 kB / 0.5632 GB, free: 15.41 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.6511, allocations: 8.312 kB / 0.5632 GB, free: 15.4 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6512, allocations: 0 / 0.5632 GB, free: 15.4 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6512, allocations: 4 kB / 0.5632 GB, free: 15.4 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006612/0.6519, allocations: 405.5 kB / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.6521, allocations: 128.7 kB / 0.5637 GB, free: 14.82 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/0.6522, allocations: 7.953 kB / 0.5637 GB, free: 14.81 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.6524, allocations: 4 kB / 0.5637 GB, free: 14.81 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.6525, allocations: 23.91 kB / 0.5638 GB, free: 14.79 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.6526, allocations: 4 kB / 0.5638 GB, free: 14.78 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.000613/0.6532, allocations: 340.5 kB / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6532, allocations: 0 / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005465/0.6538, allocations: 51.94 kB / 0.5641 GB, free: 14.4 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.002191/0.656, allocations: 1.431 MB / 0.5655 GB, free: 12.97 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003964/0.6564, allocations: 95.94 kB / 0.5656 GB, free: 12.88 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6564, allocations: 0 / 0.5656 GB, free: 12.88 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.6566, allocations: 63.91 kB / 0.5657 GB, free: 12.82 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.6573, allocations: 49.28 kB / 0.5657 GB, free: 12.77 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.659, allocations: 0.5626 MB / 0.5663 GB, free: 12.16 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.6596, allocations: 0.775 MB / 0.567 GB, free: 11.36 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.6599, allocations: 103.3 kB / 0.5671 GB, free: 11.25 MB / 411.1 MB Notification: Performance of SimCode: time 1.193e-06/0.6599, allocations: 0 / 0.5671 GB, free: 11.25 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.654/3.314, allocations: 4.969 MB / 0.572 GB, free: 6.293 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat