Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009606/0.0009606, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.273/1.273, allocations: 223.2 MB / 241 MB, free: 11.89 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.001057/0.001058, allocations: 95.41 kB / 292.2 MB, free: 10.94 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.3232/0.3232, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 8 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.422, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5553, allocations: 89.14 MB / 0.5966 GB, free: 6.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5557, allocations: 75.94 kB / 0.5967 GB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01714/0.5728, allocations: 6.67 MB / 0.6032 GB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5729, allocations: 7.938 kB / 0.6032 GB, free: 15.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.8e-05/0.5729, allocations: 8 kB / 0.6032 GB, free: 15.26 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001009/0.5739, allocations: 0.7036 MB / 0.6039 GB, free: 14.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.574, allocations: 8.562 kB / 0.6039 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.5741, allocations: 51.34 kB / 0.604 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.5749, allocations: 475.1 kB / 0.6044 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.5749, allocations: 15.94 kB / 0.6044 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.575, allocations: 4 kB / 0.6044 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.5752, allocations: 79.38 kB / 0.6045 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5752, allocations: 3.984 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.5752, allocations: 4 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5752, allocations: 0 / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.5753, allocations: 35.92 kB / 0.6046 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.5758, allocations: 378.4 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.576, allocations: 113.2 kB / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.5761, allocations: 0 / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.5763, allocations: 121 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.5763, allocations: 0 / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004893/0.5768, allocations: 193.1 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.5769, allocations: 85.03 kB / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.5781, allocations: 0.916 MB / 0.6063 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.5781, allocations: 29.7 kB / 0.6063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.5783, allocations: 232.1 kB / 0.6065 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.5783, allocations: 23.7 kB / 0.6066 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.5783, allocations: 4 kB / 0.6066 GB, free: 11.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5785, allocations: 370.8 kB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.5786, allocations: 27.98 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.783e-05/0.5787, allocations: 53.52 kB / 0.607 GB, free: 11.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.636e-05/0.5788, allocations: 39.98 kB / 0.607 GB, free: 11.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5788, allocations: 0 / 0.607 GB, free: 11.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002996/0.5791, allocations: 184.8 kB / 0.6072 GB, free: 10.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5791, allocations: 6.344 kB / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5791, allocations: 4 kB / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5792, allocations: 0 / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5793, allocations: 28.05 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5793, allocations: 0 / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.5794, allocations: 15.84 kB / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.5794, allocations: 12.61 kB / 0.6073 GB, free: 10.84 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.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 () * Number of clocked 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 0.0002099/0.5797, allocations: 221.6 kB / 0.6075 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.5797, allocations: 55.39 kB / 0.6075 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.5801, allocations: 205.4 kB / 0.6077 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5801, allocations: 4 kB / 0.6077 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5802, allocations: 3.984 kB / 0.6077 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5802, allocations: 4 kB / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.5805, allocations: 373.3 kB / 0.6081 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5805, allocations: 0 / 0.6081 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.5806, allocations: 15.98 kB / 0.6081 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.5806, allocations: 4 kB / 0.6081 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5806, allocations: 3.953 kB / 0.6081 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5806, allocations: 0 / 0.6081 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5806, allocations: 4 kB / 0.6081 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.581, allocations: 231 kB / 0.6084 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.5813, allocations: 200.3 kB / 0.6085 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.5814, allocations: 4 kB / 0.6085 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.5815, allocations: 8 kB / 0.6086 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.5815, allocations: 7.984 kB / 0.6086 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.5816, allocations: 8 kB / 0.6086 GB, free: 9.398 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008049/0.5824, allocations: 0.733 MB / 0.6093 GB, free: 8.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5824, allocations: 0 / 0.6093 GB, free: 8.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.5827, allocations: 80 kB / 0.6094 GB, free: 8.59 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: 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) * Number of clocked states: 0 () * 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.001021/0.5837, allocations: 431.3 kB / 0.6098 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.584, allocations: 87.84 kB / 0.6099 GB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.584, allocations: 4.125 kB / 0.6099 GB, free: 8.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.5841, allocations: 47.97 kB / 0.6099 GB, free: 8.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.5845, allocations: 60.7 kB / 0.61 GB, free: 8.125 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.5858, allocations: 0.9753 MB / 0.6109 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.5862, allocations: 0.8468 MB / 0.6117 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.5864, allocations: 82.95 kB / 0.6118 GB, free: 6.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.5865, allocations: 43.42 kB / 0.6119 GB, free: 6.117 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5865, allocations: 4 kB / 0.6119 GB, free: 6.113 MB / 426.7 MB Notification: Performance of Templates: time 0.009531/0.596, allocations: 4.509 MB / 0.6163 GB, free: 1.633 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches