Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 183 kB / 18.09 MB, free: 3.625 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.224/1.224, allocations: 223.3 MB / 242.1 MB, free: 9.969 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.0008112/0.0008114, allocations: 103.6 kB / 293.3 MB, free: 10.54 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.2792/0.2792, allocations: 44.15 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 16 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 61.88 MB / 0.5107 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.4269, allocations: 89.28 MB / 0.5979 GB, free: 5.777 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.4271, allocations: 87.94 kB / 0.598 GB, free: 5.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01407/0.4412, allocations: 5.468 MB / 0.6033 GB, free: 232 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4412, allocations: 3.938 kB / 0.6033 GB, free: 228 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.4413, allocations: 4 kB / 0.6034 GB, free: 224 kB / 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.0005012/0.4418, allocations: 423 kB / 0.6038 GB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4418, allocations: 12.03 kB / 0.6038 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.4419, allocations: 8.844 kB / 0.6038 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.4421, allocations: 217 kB / 0.604 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4422, allocations: 8.359 kB / 0.604 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.4422, allocations: 8.312 kB / 0.604 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.4423, allocations: 54.23 kB / 0.604 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4424, allocations: 192 / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4424, allocations: 3.938 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4424, allocations: 4 kB / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.4425, allocations: 23.92 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.4428, allocations: 288.9 kB / 0.6044 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.443, allocations: 62.61 kB / 0.6044 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.4431, allocations: 24.84 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.4431, allocations: 11.94 kB / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.4432, allocations: 59.39 kB / 0.6045 GB, free: 14.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4432, allocations: 0 / 0.6045 GB, free: 14.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004925/0.4437, allocations: 181.2 kB / 0.6047 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.4438, allocations: 51.41 kB / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.4439, allocations: 184 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.444, allocations: 33.7 kB / 0.6049 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.444, allocations: 104.1 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.4441, allocations: 27.64 kB / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.4441, allocations: 0 / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4442, allocations: 322.8 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.4442, allocations: 20 kB / 0.6054 GB, free: 13.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.4443, allocations: 41.69 kB / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.4444, allocations: 61.84 kB / 0.6055 GB, free: 13.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4444, allocations: 0 / 0.6055 GB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.4446, allocations: 113.4 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4446, allocations: 4 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4447, allocations: 0 / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.4447, allocations: 4 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.4448, allocations: 15.98 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4448, allocations: 0 / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.4448, allocations: 8.031 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4448, allocations: 4 kB / 0.6056 GB, free: 13.65 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 9.554e-05/0.4449, allocations: 133.7 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.445, allocations: 7.906 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.4452, allocations: 122.4 kB / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4452, allocations: 0 / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4452, allocations: 4 kB / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4452, allocations: 0 / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.4457, allocations: 415.2 kB / 0.6063 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4457, allocations: 0 / 0.6063 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.4457, allocations: 11.94 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4457, allocations: 0 / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4457, allocations: 4 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4458, allocations: 240 / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4458, allocations: 3.938 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.446, allocations: 228.1 kB / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.4461, allocations: 89.02 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.4461, allocations: 4.375 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.4462, allocations: 7.984 kB / 0.6066 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.4462, allocations: 11.94 kB / 0.6066 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4462, allocations: 4 kB / 0.6066 GB, free: 12.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.4463, allocations: 148 kB / 0.6068 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4464, allocations: 4 kB / 0.6068 GB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.4466, allocations: 35.92 kB / 0.6068 GB, free: 12.33 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.0009292/0.4475, allocations: 473.2 kB / 0.6073 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.4477, allocations: 67.91 kB / 0.6073 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4477, allocations: 0 / 0.6073 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.4478, allocations: 35.92 kB / 0.6074 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.4481, allocations: 27.61 kB / 0.6074 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.4486, allocations: 250.4 kB / 0.6076 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4488, allocations: 0.7004 MB / 0.6083 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.294e-05/0.4489, allocations: 8.875 kB / 0.6083 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.4489, allocations: 23.42 kB / 0.6083 GB, free: 10.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.449, allocations: 0 / 0.6083 GB, free: 10.88 MB / 426.7 MB Notification: Performance of Templates: time 0.003951/0.4529, allocations: 1.698 MB / 0.61 GB, free: 9.203 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches