Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00239/0.002394, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00112/0.001119, allocations: 92.42 kB / 270.9 MB, free: 8.379 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.5105/0.5105, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004682, allocations: 15.94 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5176/0.6429, allocations: 87.72 MB / 0.5644 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.6432, allocations: 71.97 kB / 0.5645 GB, free: 14.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0253/0.6686, allocations: 5.702 MB / 0.57 GB, free: 9.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6686, allocations: 0 / 0.57 GB, free: 9.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.6686, allocations: 0 / 0.57 GB, free: 9.109 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.0007177/0.6694, allocations: 458.1 kB / 0.5705 GB, free: 8.621 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.6694, allocations: 12.02 kB / 0.5705 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.6695, allocations: 19.25 kB / 0.5705 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.6699, allocations: 221 kB / 0.5707 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.67, allocations: 0 / 0.5707 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.67, allocations: 0 / 0.5707 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.6702, allocations: 61.66 kB / 0.5708 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.6702, allocations: 7.984 kB / 0.5708 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.6703, allocations: 0 / 0.5708 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.6703, allocations: 1.031 kB / 0.5708 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.6704, allocations: 31.86 kB / 0.5708 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006096/0.671, allocations: 309.4 kB / 0.5711 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.6713, allocations: 58.67 kB / 0.5712 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.6713, allocations: 8 kB / 0.5712 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.6716, allocations: 71.45 kB / 0.5712 GB, free: 7.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.126e-06/0.6716, allocations: 0 / 0.5712 GB, free: 7.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009116/0.6725, allocations: 185 kB / 0.5714 GB, free: 7.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.6726, allocations: 59.36 kB / 0.5715 GB, free: 7.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.6731, allocations: 237.7 kB / 0.5717 GB, free: 7.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.6731, allocations: 29.7 kB / 0.5717 GB, free: 7.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.6732, allocations: 170.6 kB / 0.5719 GB, free: 7.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.6733, allocations: 27.64 kB / 0.5719 GB, free: 6.996 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.6733, allocations: 0 / 0.5719 GB, free: 6.996 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6735, allocations: 314.8 kB / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.6736, allocations: 19.98 kB / 0.5722 GB, free: 6.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.6737, allocations: 37.7 kB / 0.5723 GB, free: 6.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.6738, allocations: 28 kB / 0.5723 GB, free: 6.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6739, allocations: 0.75 kB / 0.5723 GB, free: 6.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003091/0.6742, allocations: 97.59 kB / 0.5724 GB, free: 6.488 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6742, allocations: 4 kB / 0.5724 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6742, allocations: 0 / 0.5724 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6743, allocations: 0 / 0.5724 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.6744, allocations: 23.98 kB / 0.5724 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6745, allocations: 3.938 kB / 0.5724 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.6746, allocations: 7.953 kB / 0.5724 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.6746, allocations: 4.219 kB / 0.5724 GB, free: 6.445 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.0001686/0.6748, allocations: 133.8 kB / 0.5726 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.6748, allocations: 19.75 kB / 0.5726 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.6752, allocations: 127 kB / 0.5727 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6753, allocations: 0 / 0.5727 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6753, allocations: 0 / 0.5727 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6753, allocations: 0 / 0.5727 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.6761, allocations: 443.1 kB / 0.5731 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.6761, allocations: 4 kB / 0.5731 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.6762, allocations: 12 kB / 0.5731 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.6762, allocations: 0 / 0.5731 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.6762, allocations: 7.938 kB / 0.5731 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.6762, allocations: 3.953 kB / 0.5731 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6763, allocations: 0 / 0.5731 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.6766, allocations: 225.9 kB / 0.5734 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6768, allocations: 100.9 kB / 0.5735 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.6768, allocations: 7.938 kB / 0.5735 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.677, allocations: 8 kB / 0.5735 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.677, allocations: 7.984 kB / 0.5735 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.6771, allocations: 4.375 kB / 0.5735 GB, free: 5.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003227/0.6774, allocations: 200.2 kB / 0.5737 GB, free: 5.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6774, allocations: 3.938 kB / 0.5737 GB, free: 5.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003894/0.6778, allocations: 43.92 kB / 0.5737 GB, free: 5.008 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.001391/0.6792, allocations: 482.9 kB / 0.5742 GB, free: 4.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.6795, allocations: 63.91 kB / 0.5742 GB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6796, allocations: 0 / 0.5742 GB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.6797, allocations: 31.98 kB / 0.5743 GB, free: 4.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.6801, allocations: 21.41 kB / 0.5743 GB, free: 4.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.681, allocations: 350.9 kB / 0.5746 GB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.6815, allocations: 0.7199 MB / 0.5753 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.6816, allocations: 27.42 kB / 0.5754 GB, free: 3.375 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6816, allocations: 0 / 0.5754 GB, free: 3.375 MB / 394.7 MB Notification: Performance of Templates: time 0.006216/0.6878, allocations: 2.138 MB / 0.5774 GB, free: 1.246 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches