Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009698/0.0009697, allocations: 179.8 kB / 14.15 MB, free: 1.176 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.32/1.32, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008171/0.0008171, allocations: 91.66 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1796/0.1796, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.436e-05/2.439e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4489, allocations: 89.06 MB / 0.5887 GB, free: 252 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4492, allocations: 75.95 kB / 0.5888 GB, free: 176 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.4662, allocations: 6.697 MB / 0.5953 GB, free: 9.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4662, allocations: 0 / 0.5953 GB, free: 9.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.4663, allocations: 15.94 kB / 0.5953 GB, free: 9.477 MB / 410.7 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.0005523/0.4668, allocations: 0.5948 MB / 0.5959 GB, free: 8.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.235e-05/0.4669, allocations: 8.031 kB / 0.5959 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.4669, allocations: 55.34 kB / 0.596 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007083/0.4677, allocations: 479 kB / 0.5964 GB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4677, allocations: 11.95 kB / 0.5964 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.4677, allocations: 4 kB / 0.5964 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4678, allocations: 83.38 kB / 0.5965 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-06/0.4678, allocations: 0 / 0.5965 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.4679, allocations: 0 / 0.5965 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.4679, allocations: 3.984 kB / 0.5965 GB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.743e-05/0.4679, allocations: 39.97 kB / 0.5965 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.4683, allocations: 386.3 kB / 0.5969 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.4684, allocations: 105.2 kB / 0.597 GB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.4685, allocations: 37.81 kB / 0.597 GB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.4685, allocations: 3.984 kB / 0.5971 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.4687, allocations: 105 kB / 0.5972 GB, free: 7.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4687, allocations: 0 / 0.5972 GB, free: 7.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002924/0.469, allocations: 168.9 kB / 0.5973 GB, free: 7.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4691, allocations: 81.11 kB / 0.5974 GB, free: 7.121 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.4702, allocations: 0.9344 MB / 0.5983 GB, free: 6.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4702, allocations: 25.7 kB / 0.5983 GB, free: 6.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.4704, allocations: 236.1 kB / 0.5986 GB, free: 5.914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.4704, allocations: 23.66 kB / 0.5986 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.4705, allocations: 0 / 0.5986 GB, free: 5.891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4706, allocations: 374.8 kB / 0.5989 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.4706, allocations: 24 kB / 0.599 GB, free: 5.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.4707, allocations: 59.42 kB / 0.599 GB, free: 5.422 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.4708, allocations: 32.05 kB / 0.599 GB, free: 5.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4708, allocations: 0 / 0.599 GB, free: 5.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002302/0.471, allocations: 172.9 kB / 0.5992 GB, free: 5.215 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.471, allocations: 4.938 kB / 0.5992 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.471, allocations: 0 / 0.5992 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.4711, allocations: 4.062 kB / 0.5992 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.4712, allocations: 23.98 kB / 0.5992 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.4712, allocations: 7.938 kB / 0.5992 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/0.4713, allocations: 19.78 kB / 0.5993 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4713, allocations: 8 kB / 0.5993 GB, free: 5.148 MB / 410.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.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 7.078e-05/0.4714, allocations: 116.8 kB / 0.5994 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.4715, allocations: 51.39 kB / 0.5994 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.4717, allocations: 197.5 kB / 0.5996 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4718, allocations: 8 kB / 0.5996 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4718, allocations: 0 / 0.5996 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4718, allocations: 0 / 0.5996 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.4721, allocations: 393.3 kB / 0.6 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4721, allocations: 0 / 0.6 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.4721, allocations: 8 kB / 0.6 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4722, allocations: 7.953 kB / 0.6 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4722, allocations: 3.984 kB / 0.6 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4722, allocations: 7.938 kB / 0.6 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4722, allocations: 0 / 0.6 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.4725, allocations: 223.3 kB / 0.6002 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.4727, allocations: 188.5 kB / 0.6004 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.4728, allocations: 11.94 kB / 0.6004 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.4729, allocations: 8 kB / 0.6004 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.4729, allocations: 7.984 kB / 0.6005 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.4729, allocations: 15.98 kB / 0.6005 GB, free: 3.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007848/0.4737, allocations: 0.7396 MB / 0.6012 GB, free: 3.074 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4737, allocations: 0 / 0.6012 GB, free: 3.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003502/0.4741, allocations: 83.89 kB / 0.6013 GB, free: 2.992 MB / 410.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: 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.0007998/0.4749, allocations: 392.4 kB / 0.6016 GB, free: 2.711 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.4751, allocations: 79.92 kB / 0.6017 GB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4751, allocations: 0 / 0.6017 GB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.4752, allocations: 44.06 kB / 0.6018 GB, free: 2.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.4755, allocations: 65.3 kB / 0.6018 GB, free: 2.527 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4766, allocations: 0.7797 MB / 0.6026 GB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.4769, allocations: 0.8507 MB / 0.6034 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.4771, allocations: 82.97 kB / 0.6035 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.4772, allocations: 43.42 kB / 0.6035 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4772, allocations: 0 / 0.6035 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of Templates: time 0.008016/0.4852, allocations: 4.589 MB / 0.608 GB, free: 12.14 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches