Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",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.001507/0.001507, 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.09/2.09, 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.001093/0.001093, allocations: 86.52 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.302/0.302, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.726e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4501, allocations: 58.85 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.6438, allocations: 86.82 MB / 0.5508 GB, free: 12.47 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.6442, allocations: 79.94 kB / 0.5509 GB, free: 12.39 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02677/0.6709, allocations: 6.382 MB / 0.5571 GB, free: 6.016 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.671, allocations: 0 / 0.5571 GB, free: 6.016 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.571e-05/0.671, allocations: 4 kB / 0.5571 GB, free: 6.012 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.001017/0.6721, allocations: 0.5994 MB / 0.5577 GB, free: 5.367 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.6721, allocations: 8.031 kB / 0.5577 GB, free: 5.359 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.6723, allocations: 55.33 kB / 0.5577 GB, free: 5.305 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.6735, allocations: 471.2 kB / 0.5582 GB, free: 4.805 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.6736, allocations: 0 / 0.5582 GB, free: 4.805 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.6736, allocations: 11.98 kB / 0.5582 GB, free: 4.793 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001232/0.6737, allocations: 27.98 kB / 0.5582 GB, free: 4.766 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.6739, allocations: 83.31 kB / 0.5583 GB, free: 4.672 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.674, allocations: 7.938 kB / 0.5583 GB, free: 4.664 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.674, allocations: 0 / 0.5583 GB, free: 4.664 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.674, allocations: 3.938 kB / 0.5583 GB, free: 4.66 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.6746, allocations: 358.8 kB / 0.5587 GB, free: 4.27 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.6748, allocations: 89.36 kB / 0.5588 GB, free: 4.164 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.675, allocations: 41.73 kB / 0.5588 GB, free: 4.117 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.675, allocations: 4 kB / 0.5588 GB, free: 4.113 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.6752, allocations: 93.09 kB / 0.5589 GB, free: 4.004 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.6752, allocations: 0 / 0.5589 GB, free: 4.004 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004899/0.6757, allocations: 169 kB / 0.559 GB, free: 3.832 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.6758, allocations: 77.11 kB / 0.5591 GB, free: 3.738 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.6777, allocations: 0.8771 MB / 0.56 GB, free: 2.852 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.6778, allocations: 29.7 kB / 0.56 GB, free: 2.816 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.678, allocations: 242.6 kB / 0.5602 GB, free: 2.578 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.678, allocations: 31.55 kB / 0.5603 GB, free: 2.547 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.6781, allocations: 0 / 0.5603 GB, free: 2.547 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6782, allocations: 322.8 kB / 0.5606 GB, free: 2.223 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.6783, allocations: 28 kB / 0.5606 GB, free: 2.195 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.6784, allocations: 47.42 kB / 0.5606 GB, free: 2.137 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.6785, allocations: 35.92 kB / 0.5607 GB, free: 2.102 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6786, allocations: 0 / 0.5607 GB, free: 2.102 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003218/0.6789, allocations: 105.6 kB / 0.5608 GB, free: 1.992 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6789, allocations: 4 kB / 0.5608 GB, free: 1.988 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.6789, allocations: 8.062 kB / 0.5608 GB, free: 1.98 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.679, allocations: 0 / 0.5608 GB, free: 1.98 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.6792, allocations: 23.98 kB / 0.5608 GB, free: 1.957 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6792, allocations: 0 / 0.5608 GB, free: 1.957 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.6794, allocations: 11.91 kB / 0.5608 GB, free: 1.945 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.6795, allocations: 4.25 kB / 0.5608 GB, free: 1.941 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.0001129/0.6796, allocations: 120.7 kB / 0.5609 GB, free: 1.816 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004059/0.68, allocations: 165 kB / 0.5611 GB, free: 1.648 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6801, allocations: 55.34 kB / 0.5612 GB, free: 1.594 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.6806, allocations: 181.8 kB / 0.5613 GB, free: 1.406 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.6806, allocations: 4 kB / 0.5613 GB, free: 1.402 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6807, allocations: 0 / 0.5613 GB, free: 1.402 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.6807, allocations: 0 / 0.5613 GB, free: 1.402 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.6812, allocations: 365.7 kB / 0.5617 GB, free: 1.008 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.6812, allocations: 0 / 0.5617 GB, free: 1.008 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.6813, allocations: 15.92 kB / 0.5617 GB, free: 0.9922 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.6813, allocations: 3.938 kB / 0.5617 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.6813, allocations: 4 kB / 0.5617 GB, free: 0.9844 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6813, allocations: 4 kB / 0.5617 GB, free: 0.9805 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6814, allocations: 0 / 0.5617 GB, free: 0.9805 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.6818, allocations: 214.9 kB / 0.5619 GB, free: 0.7422 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.6822, allocations: 196.4 kB / 0.5621 GB, free: 0.5312 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.6823, allocations: 4 kB / 0.5621 GB, free: 0.5273 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.6825, allocations: 11.98 kB / 0.5621 GB, free: 0.5156 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.6826, allocations: 16.17 kB / 0.5621 GB, free: 0.5 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.6826, allocations: 4 kB / 0.5621 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.6841, allocations: 0.6942 MB / 0.5628 GB, free: 15.8 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6841, allocations: 0 / 0.5628 GB, free: 15.8 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005206/0.6846, allocations: 76 kB / 0.5629 GB, free: 15.73 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.001925/0.6866, allocations: 1.076 MB / 0.5639 GB, free: 14.67 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.687, allocations: 71.94 kB / 0.564 GB, free: 14.6 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.6871, allocations: 0 / 0.564 GB, free: 14.6 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.6873, allocations: 40.11 kB / 0.564 GB, free: 14.56 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009251/0.6882, allocations: 69.84 kB / 0.5641 GB, free: 14.49 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.691, allocations: 0.9101 MB / 0.565 GB, free: 13.53 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.6917, allocations: 0.8469 MB / 0.5658 GB, free: 12.66 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.6921, allocations: 159.4 kB / 0.566 GB, free: 12.5 MB / 411.1 MB Notification: Performance of SimCode: time 1.653e-06/0.6922, allocations: 4 kB / 0.566 GB, free: 12.5 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.76/3.452, allocations: 8.033 MB / 0.5738 GB, free: 4.461 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat