Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 182.7 kB / 18.09 MB, free: 3.621 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.294/1.294, allocations: 223.3 MB / 242.1 MB, free: 9.93 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.000869/0.0008688, allocations: 104 kB / 293.3 MB, free: 10.57 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.3379/0.3379, allocations: 44.14 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 16 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3295, allocations: 61.88 MB / 0.5107 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.4374, allocations: 89.13 MB / 0.5978 GB, free: 5.961 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4377, allocations: 87.92 kB / 0.5979 GB, free: 5.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.4519, allocations: 5.737 MB / 0.6035 GB, free: 140 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.452, allocations: 0 / 0.6035 GB, free: 140 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.452, allocations: 4 kB / 0.6035 GB, free: 136 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005011/0.4525, allocations: 431 kB / 0.6039 GB, free: 15.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4525, allocations: 8.031 kB / 0.6039 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.4526, allocations: 16.75 kB / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.4529, allocations: 224 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4529, allocations: 4.375 kB / 0.6041 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.4529, allocations: 384 / 0.6041 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.4531, allocations: 54.23 kB / 0.6042 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.4531, allocations: 4.188 kB / 0.6042 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.4531, allocations: 3.938 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.4531, allocations: 3.984 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.4532, allocations: 15.94 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.4534, allocations: 193.7 kB / 0.6044 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.4535, allocations: 54.55 kB / 0.6044 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.4536, allocations: 24.84 kB / 0.6045 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4536, allocations: 0 / 0.6045 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.4538, allocations: 71.33 kB / 0.6045 GB, free: 14.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.4538, allocations: 0 / 0.6045 GB, free: 14.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002599/0.454, allocations: 105.4 kB / 0.6046 GB, free: 14.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.4541, allocations: 51.41 kB / 0.6047 GB, free: 14.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.4543, allocations: 264.7 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.4544, allocations: 29.7 kB / 0.605 GB, free: 14.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.4544, allocations: 108.1 kB / 0.6051 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.4545, allocations: 15.8 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.4545, allocations: 4 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4546, allocations: 326.8 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.621e-05/0.4546, allocations: 12 kB / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.4547, allocations: 37.64 kB / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.4548, allocations: 45.7 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4548, allocations: 0 / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000153/0.455, allocations: 89.44 kB / 0.6056 GB, free: 13.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.455, allocations: 7.938 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.455, allocations: 3.984 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.455, allocations: 0 / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.4551, allocations: 8 kB / 0.6056 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4551, allocations: 8.031 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.4552, allocations: 320 / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4552, allocations: 4 kB / 0.6056 GB, free: 13.71 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 (7): * Single equations (assignments): 7 * 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.0001026/0.4553, allocations: 137.8 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.4553, allocations: 19.73 kB / 0.6057 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.4555, allocations: 106.6 kB / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4555, allocations: 0 / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4555, allocations: 0 / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4556, allocations: 4 kB / 0.6059 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.4557, allocations: 205.6 kB / 0.606 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4557, allocations: 0 / 0.606 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.4557, allocations: 4 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4558, allocations: 3.938 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4558, allocations: 4 kB / 0.6061 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4558, allocations: 3.938 kB / 0.6061 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4558, allocations: 0 / 0.6061 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.456, allocations: 124.8 kB / 0.6062 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.4561, allocations: 101 kB / 0.6063 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.4561, allocations: 3.938 kB / 0.6063 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/0.4561, allocations: 4 kB / 0.6063 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.4562, allocations: 3.984 kB / 0.6063 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4562, allocations: 8 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.4564, allocations: 196.2 kB / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4564, allocations: 0 / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00021/0.4566, allocations: 28 kB / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008092/0.4574, allocations: 420.6 kB / 0.6069 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.4576, allocations: 51.91 kB / 0.607 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4576, allocations: 0 / 0.607 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.583e-05/0.4576, allocations: 16 kB / 0.607 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.4579, allocations: 35.84 kB / 0.607 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.4584, allocations: 293.4 kB / 0.6073 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.4586, allocations: 0.7121 MB / 0.608 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.4587, allocations: 32.34 kB / 0.608 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.4587, allocations: 15.38 kB / 0.608 GB, free: 11.22 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4587, allocations: 0 / 0.608 GB, free: 11.22 MB / 426.7 MB Notification: Performance of Templates: time 0.003805/0.4625, allocations: 1.621 MB / 0.6096 GB, free: 9.617 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches