Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",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.002237/0.002237, allocations: 178.4 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.085/2.085, allocations: 205.3 MB / 214.1 MB, free: 14.09 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.00115/0.00115, allocations: 79.78 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.2989/0.2989, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.542e-05/2.542e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4119, allocations: 58.84 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/0.6203, allocations: 86.81 MB / 0.5508 GB, free: 12.48 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004654/0.6209, allocations: 71.97 kB / 0.5508 GB, free: 12.41 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02489/0.6458, allocations: 5.485 MB / 0.5562 GB, free: 6.926 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.6458, allocations: 0 / 0.5562 GB, free: 6.926 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.6459, allocations: 4.547 kB / 0.5562 GB, free: 6.922 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006038/0.6465, allocations: 406.8 kB / 0.5566 GB, free: 6.48 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.6466, allocations: 12.03 kB / 0.5566 GB, free: 6.469 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.6466, allocations: 19.78 kB / 0.5566 GB, free: 6.449 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.6471, allocations: 226.7 kB / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.6471, allocations: 3.984 kB / 0.5568 GB, free: 6.184 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.6472, allocations: 4 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.62e-05/0.6473, allocations: 12 kB / 0.5569 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.6474, allocations: 49.67 kB / 0.5569 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6474, allocations: 0 / 0.5569 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.6474, allocations: 0 / 0.5569 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6474, allocations: 0 / 0.5569 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.6477, allocations: 170.2 kB / 0.5571 GB, free: 5.91 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.6479, allocations: 50.56 kB / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.6479, allocations: 16.86 kB / 0.5571 GB, free: 5.832 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.648, allocations: 4.094 kB / 0.5571 GB, free: 5.828 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.6481, allocations: 59.39 kB / 0.5572 GB, free: 5.758 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.6482, allocations: 0 / 0.5572 GB, free: 5.758 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002935/0.6485, allocations: 89.42 kB / 0.5573 GB, free: 5.664 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.6485, allocations: 55.34 kB / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.6489, allocations: 229.8 kB / 0.5575 GB, free: 5.363 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.649, allocations: 25.7 kB / 0.5576 GB, free: 5.332 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.6491, allocations: 170.6 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.6491, allocations: 11.81 kB / 0.5577 GB, free: 5.152 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.6491, allocations: 0 / 0.5577 GB, free: 5.152 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6493, allocations: 322.8 kB / 0.5581 GB, free: 4.828 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.342e-05/0.6493, allocations: 11.98 kB / 0.5581 GB, free: 4.816 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.6494, allocations: 29.72 kB / 0.5581 GB, free: 4.781 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.6495, allocations: 11.98 kB / 0.5581 GB, free: 4.77 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6495, allocations: 8 kB / 0.5581 GB, free: 4.762 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002271/0.6497, allocations: 73.64 kB / 0.5582 GB, free: 4.684 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6498, allocations: 4 kB / 0.5582 GB, free: 4.68 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6498, allocations: 0 / 0.5582 GB, free: 4.68 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6498, allocations: 0 / 0.5582 GB, free: 4.68 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.65, allocations: 8 kB / 0.5582 GB, free: 4.672 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.65, allocations: 4 kB / 0.5582 GB, free: 4.668 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.6501, allocations: 3.984 kB / 0.5582 GB, free: 4.664 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.6501, allocations: 8 kB / 0.5582 GB, free: 4.656 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 (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 0.0001132/0.6503, allocations: 109 kB / 0.5583 GB, free: 4.543 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000195/0.6505, allocations: 81.39 kB / 0.5584 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.6505, allocations: 15.81 kB / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.6508, allocations: 95.28 kB / 0.5585 GB, free: 4.34 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.6508, allocations: 0 / 0.5585 GB, free: 4.34 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6508, allocations: 0 / 0.5585 GB, free: 4.34 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6508, allocations: 0 / 0.5585 GB, free: 4.34 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.6511, allocations: 186.1 kB / 0.5587 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6511, allocations: 3.953 kB / 0.5587 GB, free: 4.117 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.6512, allocations: 4 kB / 0.5587 GB, free: 4.113 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6512, allocations: 4 kB / 0.5587 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.6512, allocations: 0 / 0.5587 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.6512, allocations: 7.922 kB / 0.5587 GB, free: 4.102 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6512, allocations: 0 / 0.5587 GB, free: 4.102 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.6515, allocations: 108.9 kB / 0.5588 GB, free: 3.977 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.6516, allocations: 101.2 kB / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.6517, allocations: 0 / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.6518, allocations: 12 kB / 0.5589 GB, free: 3.848 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.6518, allocations: 11.97 kB / 0.5589 GB, free: 3.836 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.6518, allocations: 4 kB / 0.5589 GB, free: 3.832 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002892/0.6521, allocations: 184.2 kB / 0.5591 GB, free: 3.652 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6522, allocations: 0 / 0.5591 GB, free: 3.652 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.6525, allocations: 35.84 kB / 0.5591 GB, free: 3.617 MB / 395.1 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.001605/0.6542, allocations: 0.8863 MB / 0.56 GB, free: 2.75 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.6544, allocations: 43.98 kB / 0.56 GB, free: 2.707 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6544, allocations: 0 / 0.56 GB, free: 2.707 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.6545, allocations: 19.94 kB / 0.5601 GB, free: 2.688 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.6549, allocations: 31.28 kB / 0.5601 GB, free: 2.66 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.6557, allocations: 288.6 kB / 0.5604 GB, free: 2.336 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.6561, allocations: 0.7235 MB / 0.5611 GB, free: 1.586 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.6562, allocations: 39.42 kB / 0.5611 GB, free: 1.547 MB / 395.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6562, allocations: 0 / 0.5611 GB, free: 1.547 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/3.387, allocations: 2.594 MB / 0.5636 GB, free: 14.96 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat