Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 176.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.2 MB / 241 MB, free: 11.83 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.0009277, allocations: 102.9 kB / 292.2 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3618/0.3618, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003001, allocations: 12 kB / 459.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3186, allocations: 61.9 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4417, allocations: 89.56 MB / 0.597 GB, free: 5.539 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/0.4421, allocations: 75.94 kB / 0.5971 GB, free: 5.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02219/0.4643, allocations: 8.424 MB / 0.6053 GB, free: 13.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4643, allocations: 0 / 0.6053 GB, free: 13.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.642e-05/0.4644, allocations: 7.938 kB / 0.6053 GB, free: 13.03 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007703/0.4651, allocations: 0.5641 MB / 0.6059 GB, free: 12.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4652, allocations: 8.031 kB / 0.6059 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.4653, allocations: 31.62 kB / 0.6059 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.4658, allocations: 306.9 kB / 0.6062 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4658, allocations: 7.984 kB / 0.6062 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.4658, allocations: 11.91 kB / 0.6062 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.4661, allocations: 111.3 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4661, allocations: 0 / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4662, allocations: 4 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4662, allocations: 0 / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.4663, allocations: 59.88 kB / 0.6064 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000683/0.467, allocations: 0.489 MB / 0.6069 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.4674, allocations: 125.2 kB / 0.607 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.4674, allocations: 0 / 0.607 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.4677, allocations: 129.2 kB / 0.6071 GB, free: 11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4677, allocations: 0 / 0.6071 GB, free: 11 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001312/0.469, allocations: 0.5121 MB / 0.6076 GB, free: 10.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.4691, allocations: 85.09 kB / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.4696, allocations: 440.8 kB / 0.6081 GB, free: 9.945 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.4696, allocations: 33.7 kB / 0.6082 GB, free: 9.906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4698, allocations: 156.5 kB / 0.6083 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.4699, allocations: 71 kB / 0.6084 GB, free: 9.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.4699, allocations: 8 kB / 0.6084 GB, free: 9.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4701, allocations: 338.8 kB / 0.6087 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.4702, allocations: 63.91 kB / 0.6088 GB, free: 9.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.4704, allocations: 97.8 kB / 0.6089 GB, free: 9.164 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.4705, allocations: 63.94 kB / 0.6089 GB, free: 9.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4705, allocations: 0 / 0.6089 GB, free: 9.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004176/0.471, allocations: 237.1 kB / 0.6091 GB, free: 8.863 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.471, allocations: 7.953 kB / 0.6092 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.471, allocations: 4 kB / 0.6092 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4711, allocations: 4.062 kB / 0.6092 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4712, allocations: 47.91 kB / 0.6092 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4712, allocations: 3.938 kB / 0.6092 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.041e-05/0.4713, allocations: 12 kB / 0.6092 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4713, allocations: 4 kB / 0.6092 GB, free: 8.781 MB / 426.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002112/0.4716, allocations: 182.2 kB / 0.6094 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.4716, allocations: 35.53 kB / 0.6094 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005441/0.4722, allocations: 296.8 kB / 0.6097 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4722, allocations: 0 / 0.6097 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4722, allocations: 7.984 kB / 0.6097 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4722, allocations: 0 / 0.6097 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.4734, allocations: 0.8091 MB / 0.6105 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4734, allocations: 4 kB / 0.6105 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.4735, allocations: 27.98 kB / 0.6105 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4735, allocations: 7.938 kB / 0.6106 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.4735, allocations: 8 kB / 0.6106 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.4735, allocations: 4 kB / 0.6106 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4735, allocations: 0 / 0.6106 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.4741, allocations: 0.4915 MB / 0.611 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4743, allocations: 132.7 kB / 0.6112 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.4743, allocations: 12 kB / 0.6112 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.4745, allocations: 11.98 kB / 0.6112 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.4745, allocations: 15.98 kB / 0.6112 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.4746, allocations: 8 kB / 0.6112 GB, free: 6.574 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003799/0.4749, allocations: 359.1 kB / 0.6116 GB, free: 6.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.475, allocations: 4 kB / 0.6116 GB, free: 6.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.4754, allocations: 75.86 kB / 0.6116 GB, free: 6.148 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001183/0.4765, allocations: 0.5175 MB / 0.6121 GB, free: 5.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.4769, allocations: 171.6 kB / 0.6123 GB, free: 5.672 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4769, allocations: 4.125 kB / 0.6123 GB, free: 5.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.4771, allocations: 91.78 kB / 0.6124 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.4775, allocations: 58.84 kB / 0.6125 GB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.4785, allocations: 0.6679 MB / 0.6131 GB, free: 4.805 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4788, allocations: 0.7875 MB / 0.6139 GB, free: 3.992 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.4789, allocations: 49.92 kB / 0.6139 GB, free: 3.941 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.479, allocations: 35.42 kB / 0.614 GB, free: 3.906 MB / 426.7 MB Notification: Performance of SimCode: time 2.01e-07/0.479, allocations: 0 / 0.614 GB, free: 3.906 MB / 426.7 MB Notification: Performance of Templates: time 0.006511/0.4855, allocations: 3.375 MB / 0.6173 GB, free: 0.5664 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches