Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 175.8 kB / 17.06 MB, free: 5.098 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.298/1.298, allocations: 223.2 MB / 241 MB, free: 11.86 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.0009324/0.0009324, allocations: 99.45 kB / 292.2 MB, free: 10.91 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.372/0.372, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 12 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3936, allocations: 61.89 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.5235, allocations: 89.55 MB / 0.597 GB, free: 5.578 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.5238, allocations: 79.94 kB / 0.5971 GB, free: 5.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02132/0.5452, allocations: 8.097 MB / 0.605 GB, free: 13.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5452, allocations: 0 / 0.605 GB, free: 13.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.5452, allocations: 7.938 kB / 0.605 GB, free: 13.39 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.0007614/0.546, allocations: 0.5254 MB / 0.6055 GB, free: 12.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5461, allocations: 8.031 kB / 0.6055 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.5461, allocations: 23.72 kB / 0.6055 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.5466, allocations: 274.5 kB / 0.6058 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.5466, allocations: 11.94 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.5467, allocations: 11.94 kB / 0.6058 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.5469, allocations: 112 kB / 0.6059 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5469, allocations: 3.906 kB / 0.6059 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.547, allocations: 4 kB / 0.6059 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.547, allocations: 0 / 0.6059 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.5471, allocations: 51.95 kB / 0.606 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.5478, allocations: 492.6 kB / 0.6065 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.5481, allocations: 117.2 kB / 0.6066 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.5482, allocations: 12.05 kB / 0.6066 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.5484, allocations: 122.8 kB / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.5484, allocations: 0 / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.00127/0.5497, allocations: 0.4963 MB / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.5498, allocations: 89.09 kB / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.5501, allocations: 318.1 kB / 0.6076 GB, free: 10.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.5502, allocations: 29.7 kB / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.5503, allocations: 140.5 kB / 0.6077 GB, free: 10.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/0.5503, allocations: 75 kB / 0.6078 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.5504, allocations: 0 / 0.6078 GB, free: 10.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5505, allocations: 338.8 kB / 0.6081 GB, free: 9.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.5506, allocations: 59.97 kB / 0.6082 GB, free: 9.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.5508, allocations: 96.48 kB / 0.6083 GB, free: 9.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.5509, allocations: 71.88 kB / 0.6084 GB, free: 9.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5509, allocations: 0 / 0.6084 GB, free: 9.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003808/0.5513, allocations: 225.2 kB / 0.6086 GB, free: 9.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5513, allocations: 9.875 kB / 0.6086 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5514, allocations: 4.062 kB / 0.6086 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5514, allocations: 0 / 0.6086 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.5515, allocations: 51.86 kB / 0.6086 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5515, allocations: 4 kB / 0.6086 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.5516, allocations: 8 kB / 0.6086 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5516, allocations: 12 kB / 0.6087 GB, free: 9.395 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.0001694/0.5518, allocations: 166.2 kB / 0.6088 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.5519, allocations: 27.62 kB / 0.6088 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.5524, allocations: 280.6 kB / 0.6091 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.5524, allocations: 4 kB / 0.6091 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5524, allocations: 3.953 kB / 0.6091 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5524, allocations: 0 / 0.6091 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000964/0.5534, allocations: 0.7662 MB / 0.6099 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5534, allocations: 4.188 kB / 0.6099 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.093e-05/0.5535, allocations: 31.92 kB / 0.6099 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5535, allocations: 7.938 kB / 0.6099 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.5535, allocations: 11.98 kB / 0.6099 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5535, allocations: 4 kB / 0.6099 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5535, allocations: 0 / 0.6099 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.554, allocations: 487.6 kB / 0.6104 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.5542, allocations: 128.7 kB / 0.6105 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.5542, allocations: 8 kB / 0.6105 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.5544, allocations: 11.98 kB / 0.6105 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.5544, allocations: 19.92 kB / 0.6105 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.5545, allocations: 19.98 kB / 0.6106 GB, free: 7.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002538/0.5547, allocations: 261.9 kB / 0.6108 GB, free: 7.012 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5547, allocations: 0 / 0.6108 GB, free: 7.012 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003643/0.5551, allocations: 67.86 kB / 0.6109 GB, free: 6.945 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.001199/0.5563, allocations: 0.5199 MB / 0.6114 GB, free: 6.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.5567, allocations: 171.4 kB / 0.6116 GB, free: 6.469 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5567, allocations: 4.125 kB / 0.6116 GB, free: 6.465 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.5568, allocations: 87.84 kB / 0.6116 GB, free: 6.379 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.5573, allocations: 54.3 kB / 0.6117 GB, free: 6.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008459/0.5581, allocations: 0.5433 MB / 0.6122 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.5585, allocations: 0.768 MB / 0.613 GB, free: 4.941 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000117/0.5586, allocations: 45.92 kB / 0.613 GB, free: 4.895 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.5587, allocations: 27.42 kB / 0.613 GB, free: 4.867 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5587, allocations: 0 / 0.613 GB, free: 4.867 MB / 426.7 MB Notification: Performance of Templates: time 0.006121/0.5648, allocations: 3.132 MB / 0.6161 GB, free: 1.773 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches