Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 179.5 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.241/1.241, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008445/0.0008445, allocations: 91.73 kB / 287 MB, free: 232 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.1753/0.1753, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.104e-05, allocations: 4 kB / 451.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 61.91 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.45, allocations: 89.44 MB / 0.5891 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.4503, allocations: 67.97 kB / 0.5891 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.4656, allocations: 5.97 MB / 0.595 GB, free: 9.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4656, allocations: 3.938 kB / 0.595 GB, free: 9.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.4656, allocations: 4 kB / 0.595 GB, free: 9.828 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003955/0.466, allocations: 386.3 kB / 0.5953 GB, free: 9.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4661, allocations: 8.031 kB / 0.5953 GB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.4661, allocations: 15.84 kB / 0.5954 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.4664, allocations: 212.9 kB / 0.5956 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4664, allocations: 4 kB / 0.5956 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.4665, allocations: 0 / 0.5956 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.4666, allocations: 71.33 kB / 0.5956 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.4666, allocations: 0 / 0.5956 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4666, allocations: 4 kB / 0.5956 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4666, allocations: 0 / 0.5956 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.4667, allocations: 23.92 kB / 0.5957 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.467, allocations: 288.9 kB / 0.5959 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.4671, allocations: 54.67 kB / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.4672, allocations: 20.98 kB / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.4672, allocations: 0 / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.4673, allocations: 75.33 kB / 0.5961 GB, free: 8.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4673, allocations: 0 / 0.5961 GB, free: 8.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004025/0.4677, allocations: 161.2 kB / 0.5962 GB, free: 8.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.4678, allocations: 81.11 kB / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4679, allocations: 150.9 kB / 0.5964 GB, free: 8.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4679, allocations: 29.7 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.468, allocations: 92.14 kB / 0.5966 GB, free: 7.977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.468, allocations: 27.64 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.468, allocations: 4 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.4681, allocations: 322.8 kB / 0.5969 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.4682, allocations: 20 kB / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.4682, allocations: 34.58 kB / 0.597 GB, free: 7.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.4683, allocations: 23.98 kB / 0.597 GB, free: 7.535 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4683, allocations: 0 / 0.597 GB, free: 7.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000139/0.4684, allocations: 105.5 kB / 0.5971 GB, free: 7.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4685, allocations: 4 kB / 0.5971 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4685, allocations: 0 / 0.5971 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.4685, allocations: 4 kB / 0.5971 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.4686, allocations: 15.94 kB / 0.5971 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4686, allocations: 192 / 0.5971 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.4686, allocations: 11.94 kB / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4686, allocations: 7.938 kB / 0.5971 GB, free: 7.383 MB / 410.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 () * 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 5.649e-05/0.4687, allocations: 105 kB / 0.5972 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.4687, allocations: 15.94 kB / 0.5972 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.4689, allocations: 114.2 kB / 0.5973 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4689, allocations: 0 / 0.5973 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.469, allocations: 0 / 0.5973 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.469, allocations: 7.938 kB / 0.5974 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.4693, allocations: 399.2 kB / 0.5977 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4693, allocations: 0 / 0.5977 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.4694, allocations: 12 kB / 0.5977 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4694, allocations: 8.031 kB / 0.5978 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.4694, allocations: 0 / 0.5978 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4694, allocations: 3.953 kB / 0.5978 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4694, allocations: 0 / 0.5978 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.4696, allocations: 217.9 kB / 0.598 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.4697, allocations: 85.02 kB / 0.598 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.4697, allocations: 11.95 kB / 0.5981 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.4698, allocations: 7.984 kB / 0.5981 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.4698, allocations: 4 kB / 0.5981 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4698, allocations: 7.938 kB / 0.5981 GB, free: 6.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.4699, allocations: 121.7 kB / 0.5982 GB, free: 6.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4699, allocations: 0 / 0.5982 GB, free: 6.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.4702, allocations: 39.92 kB / 0.5982 GB, free: 6.133 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.0009596/0.4712, allocations: 473.4 kB / 0.5987 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.4713, allocations: 59.92 kB / 0.5987 GB, free: 5.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4713, allocations: 4 kB / 0.5987 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.743e-05/0.4714, allocations: 31.94 kB / 0.5988 GB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.4716, allocations: 23.97 kB / 0.5988 GB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.4719, allocations: 135.3 kB / 0.5989 GB, free: 5.512 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.4721, allocations: 0.7045 MB / 0.5996 GB, free: 4.781 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.734e-05/0.4722, allocations: 16.8 kB / 0.5996 GB, free: 4.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.4723, allocations: 19.42 kB / 0.5996 GB, free: 4.746 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4723, allocations: 0 / 0.5996 GB, free: 4.746 MB / 410.7 MB Notification: Performance of Templates: time 0.003948/0.4762, allocations: 1.892 MB / 0.6015 GB, free: 2.867 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches