Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",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.001417/0.001417, 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.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.001136/0.001136, allocations: 95.98 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.3028/0.3028, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.761e-05, allocations: 11.98 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4577, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.6369, allocations: 86.82 MB / 0.5508 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.6372, allocations: 79.45 kB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02779/0.665, allocations: 6.39 MB / 0.5571 GB, free: 5.926 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6651, allocations: 0 / 0.5571 GB, free: 5.926 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.6651, allocations: 4 kB / 0.5571 GB, free: 5.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001031/0.6662, allocations: 0.5916 MB / 0.5577 GB, free: 5.285 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6662, allocations: 15.97 kB / 0.5577 GB, free: 5.27 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.6664, allocations: 47.34 kB / 0.5577 GB, free: 5.223 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.6677, allocations: 471.2 kB / 0.5582 GB, free: 4.723 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.6678, allocations: 4 kB / 0.5582 GB, free: 4.719 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.6678, allocations: 4 kB / 0.5582 GB, free: 4.715 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001706/0.668, allocations: 23.98 kB / 0.5582 GB, free: 4.691 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.6682, allocations: 91.25 kB / 0.5583 GB, free: 4.59 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.6682, allocations: 0 / 0.5583 GB, free: 4.59 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.6683, allocations: 4 kB / 0.5583 GB, free: 4.586 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.6683, allocations: 3.984 kB / 0.5583 GB, free: 4.582 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.6689, allocations: 358.8 kB / 0.5587 GB, free: 4.191 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.6692, allocations: 93.34 kB / 0.5588 GB, free: 4.082 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.6693, allocations: 37.8 kB / 0.5588 GB, free: 4.039 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.6693, allocations: 3.938 kB / 0.5588 GB, free: 4.035 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.6696, allocations: 97.09 kB / 0.5589 GB, free: 3.922 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/0.6696, allocations: 0 / 0.5589 GB, free: 3.922 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005708/0.6702, allocations: 161 kB / 0.559 GB, free: 3.758 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.6703, allocations: 85.11 kB / 0.5591 GB, free: 3.656 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.6724, allocations: 0.877 MB / 0.56 GB, free: 2.77 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.6725, allocations: 29.7 kB / 0.56 GB, free: 2.734 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.6727, allocations: 242.6 kB / 0.5602 GB, free: 2.496 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/0.6728, allocations: 35.55 kB / 0.5603 GB, free: 2.461 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.6728, allocations: 0 / 0.5603 GB, free: 2.461 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6729, allocations: 314.8 kB / 0.5606 GB, free: 2.145 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.673, allocations: 31.98 kB / 0.5606 GB, free: 2.113 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.861e-05/0.6731, allocations: 49.19 kB / 0.5606 GB, free: 2.055 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.6732, allocations: 31.92 kB / 0.5607 GB, free: 2.023 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6733, allocations: 4 kB / 0.5607 GB, free: 2.02 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003013/0.6736, allocations: 109.7 kB / 0.5608 GB, free: 1.906 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.6736, allocations: 4 kB / 0.5608 GB, free: 1.902 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6736, allocations: 4.062 kB / 0.5608 GB, free: 1.898 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.6737, allocations: 4 kB / 0.5608 GB, free: 1.895 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.6739, allocations: 23.98 kB / 0.5608 GB, free: 1.871 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.001e-05/0.6739, allocations: 4 kB / 0.5608 GB, free: 1.867 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.6742, allocations: 7.906 kB / 0.5608 GB, free: 1.859 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.6742, allocations: 4 kB / 0.5608 GB, free: 1.855 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000116/0.6744, allocations: 116.7 kB / 0.5609 GB, free: 1.734 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004488/0.6748, allocations: 161.1 kB / 0.5611 GB, free: 1.57 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.675, allocations: 55.34 kB / 0.5612 GB, free: 1.516 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.6755, allocations: 185.7 kB / 0.5613 GB, free: 1.324 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.6755, allocations: 0 / 0.5613 GB, free: 1.324 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6756, allocations: 0 / 0.5613 GB, free: 1.324 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.6756, allocations: 7.938 kB / 0.5613 GB, free: 1.316 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.6761, allocations: 357.8 kB / 0.5617 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6762, allocations: 0 / 0.5617 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.6763, allocations: 20.31 kB / 0.5617 GB, free: 0.9102 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6763, allocations: 0 / 0.5617 GB, free: 0.9102 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.6763, allocations: 11.98 kB / 0.5617 GB, free: 0.8984 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6763, allocations: 4 kB / 0.5617 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6764, allocations: 0 / 0.5617 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.6768, allocations: 214.9 kB / 0.5619 GB, free: 0.6562 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.6773, allocations: 188.4 kB / 0.5621 GB, free: 464 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.6774, allocations: 8 kB / 0.5621 GB, free: 456 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.6776, allocations: 8 kB / 0.5621 GB, free: 448 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.6777, allocations: 7.984 kB / 0.5621 GB, free: 440 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.6777, allocations: 7.984 kB / 0.5621 GB, free: 432 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.6791, allocations: 0.698 MB / 0.5628 GB, free: 15.73 MB / 411.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.6792, allocations: 3.938 kB / 0.5628 GB, free: 15.72 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005875/0.6798, allocations: 75.94 kB / 0.5629 GB, free: 15.65 MB / 411.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001797/0.6816, allocations: 1.067 MB / 0.5639 GB, free: 14.59 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.6819, allocations: 67.98 kB / 0.564 GB, free: 14.53 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.682, allocations: 128 / 0.564 GB, free: 14.53 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.6821, allocations: 51.92 kB / 0.564 GB, free: 14.48 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.6828, allocations: 61.34 kB / 0.5641 GB, free: 14.42 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.6852, allocations: 0.918 MB / 0.565 GB, free: 13.45 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.6858, allocations: 0.8507 MB / 0.5658 GB, free: 12.57 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.6863, allocations: 163.4 kB / 0.566 GB, free: 12.41 MB / 411.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6863, allocations: 0 / 0.566 GB, free: 12.41 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.843/3.529, allocations: 8.025 MB / 0.5738 GB, free: 4.383 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat