Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000896/0.000896, allocations: 176.5 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.363/1.363, allocations: 223.2 MB / 241 MB, free: 11.88 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.000853/0.0008527, allocations: 97.59 kB / 292.2 MB, free: 10.95 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.3672/0.3672, allocations: 44.23 MB / 387.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 15.94 kB / 459.9 MB, free: 1.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4145, allocations: 61.9 MB / 0.5096 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.5482, allocations: 89.52 MB / 0.597 GB, free: 5.664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.5484, allocations: 79.89 kB / 0.5971 GB, free: 5.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01751/0.566, allocations: 6.158 MB / 0.6031 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.566, allocations: 0 / 0.6031 GB, free: 15.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.5661, allocations: 0 / 0.6031 GB, free: 15.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005289/0.5666, allocations: 407 kB / 0.6035 GB, free: 14.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5667, allocations: 12.03 kB / 0.6035 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.5667, allocations: 7.906 kB / 0.6035 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.567, allocations: 216.1 kB / 0.6037 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.567, allocations: 0 / 0.6037 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.5671, allocations: 8 kB / 0.6037 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.5672, allocations: 71.38 kB / 0.6038 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.5673, allocations: 3.938 kB / 0.6038 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5673, allocations: 4 kB / 0.6038 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5673, allocations: 0 / 0.6038 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.696e-05/0.5674, allocations: 19.98 kB / 0.6038 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.5678, allocations: 288.8 kB / 0.6041 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.5679, allocations: 66.66 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.568, allocations: 0 / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.5681, allocations: 67.52 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.544e-06/0.5681, allocations: 0 / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005495/0.5687, allocations: 177.5 kB / 0.6044 GB, free: 13.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.5688, allocations: 81.09 kB / 0.6045 GB, free: 13.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.5689, allocations: 155.3 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.5689, allocations: 25.7 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.569, allocations: 100.1 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.569, allocations: 19.7 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.5691, allocations: 4 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5692, allocations: 323.1 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.5693, allocations: 19.98 kB / 0.6051 GB, free: 13.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.5693, allocations: 46.56 kB / 0.6051 GB, free: 13.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/0.5694, allocations: 20 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.5694, allocations: 0 / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.5696, allocations: 105.5 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5696, allocations: 5.719 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5696, allocations: 4.062 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5696, allocations: 4 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.5697, allocations: 19.98 kB / 0.6053 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5698, allocations: 4.062 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.5698, allocations: 7.953 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.5698, allocations: 4 kB / 0.6053 GB, free: 12.95 MB / 426.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.0001253/0.57, allocations: 128.2 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.57, allocations: 11.81 kB / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.5702, allocations: 118.5 kB / 0.6055 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5703, allocations: 4.078 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5703, allocations: 3.938 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5703, allocations: 4 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.5708, allocations: 407.3 kB / 0.6059 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5708, allocations: 0 / 0.6059 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.5708, allocations: 8 kB / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5708, allocations: 0 / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.5708, allocations: 8 kB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5709, allocations: 0 / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5709, allocations: 7.938 kB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.5711, allocations: 218 kB / 0.6062 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.5712, allocations: 93 kB / 0.6062 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.5712, allocations: 4 kB / 0.6062 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.5713, allocations: 3.953 kB / 0.6063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.5713, allocations: 11.98 kB / 0.6063 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.5714, allocations: 8 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.5715, allocations: 117.5 kB / 0.6064 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5715, allocations: 0 / 0.6064 GB, free: 11.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.5718, allocations: 32 kB / 0.6064 GB, free: 11.68 MB / 426.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.001167/0.5729, allocations: 0.5266 MB / 0.6069 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.5731, allocations: 59.92 kB / 0.607 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5731, allocations: 0 / 0.607 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.5732, allocations: 36.05 kB / 0.607 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.5735, allocations: 23.97 kB / 0.607 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.5739, allocations: 218 kB / 0.6073 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.5742, allocations: 0.7042 MB / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.59e-05/0.5743, allocations: 12.88 kB / 0.608 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.5743, allocations: 19.42 kB / 0.608 GB, free: 10.21 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5743, allocations: 0 / 0.608 GB, free: 10.21 MB / 426.7 MB Notification: Performance of Templates: time 0.004314/0.5787, allocations: 1.887 MB / 0.6098 GB, free: 8.348 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches