Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008684/0.0008686, allocations: 179.7 kB / 18.09 MB, free: 3.75 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.349/1.349, allocations: 223.3 MB / 242.1 MB, free: 9.945 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.0008158/0.0008157, allocations: 85.2 kB / 293.3 MB, free: 10.58 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.3436/0.3436, allocations: 44.15 MB / 388.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 12 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.328, allocations: 61.88 MB / 0.5107 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.4431, allocations: 89.15 MB / 0.5978 GB, free: 5.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4434, allocations: 91.83 kB / 0.5979 GB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.4604, allocations: 6.714 MB / 0.6044 GB, free: 15.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4604, allocations: 3.938 kB / 0.6044 GB, free: 15.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.92e-05/0.4604, allocations: 11.98 kB / 0.6045 GB, free: 15.13 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.001104/0.4616, allocations: 0.7115 MB / 0.6051 GB, free: 14.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4616, allocations: 8.031 kB / 0.6052 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.4617, allocations: 48.38 kB / 0.6052 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.4626, allocations: 0.4998 MB / 0.6057 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4626, allocations: 384 / 0.6057 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.4626, allocations: 4.375 kB / 0.6057 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.4628, allocations: 95.83 kB / 0.6058 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4628, allocations: 4.188 kB / 0.6058 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.4628, allocations: 7.938 kB / 0.6058 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4629, allocations: 4 kB / 0.6058 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.463, allocations: 31.97 kB / 0.6058 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.4634, allocations: 374.4 kB / 0.6062 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.4637, allocations: 117.2 kB / 0.6063 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.992e-05/0.4638, allocations: 37.7 kB / 0.6063 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.4638, allocations: 0 / 0.6063 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.4641, allocations: 120.8 kB / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.4641, allocations: 0 / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005293/0.4646, allocations: 205 kB / 0.6066 GB, free: 12.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.4647, allocations: 85.09 kB / 0.6067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.4661, allocations: 1.007 MB / 0.6077 GB, free: 11.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4662, allocations: 33.7 kB / 0.6077 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.4664, allocations: 224.1 kB / 0.608 GB, free: 11.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.4664, allocations: 31.61 kB / 0.608 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.4665, allocations: 8 kB / 0.608 GB, free: 11.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.4667, allocations: 362.8 kB / 0.6083 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4668, allocations: 31.97 kB / 0.6084 GB, free: 10.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4669, allocations: 60.7 kB / 0.6084 GB, free: 10.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.4671, allocations: 91.91 kB / 0.6085 GB, free: 10.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4671, allocations: 3.938 kB / 0.6085 GB, free: 10.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000381/0.4675, allocations: 181 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4675, allocations: 7.938 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.4675, allocations: 0 / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4676, allocations: 4 kB / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.4677, allocations: 24.05 kB / 0.6087 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4677, allocations: 0 / 0.6087 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.4679, allocations: 15.84 kB / 0.6087 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4679, allocations: 8 kB / 0.6088 GB, free: 10.45 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.0002433/0.4681, allocations: 222.2 kB / 0.609 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.4682, allocations: 59.28 kB / 0.609 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.4686, allocations: 197.6 kB / 0.6092 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4686, allocations: 8 kB / 0.6092 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4687, allocations: 0 / 0.6092 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4687, allocations: 3.984 kB / 0.6092 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.4691, allocations: 385.3 kB / 0.6096 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4691, allocations: 0 / 0.6096 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.4691, allocations: 11.98 kB / 0.6096 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4692, allocations: 3.938 kB / 0.6096 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.4692, allocations: 8 kB / 0.6096 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4692, allocations: 0 / 0.6096 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4692, allocations: 3.984 kB / 0.6096 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.4696, allocations: 225.4 kB / 0.6098 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.4699, allocations: 196.3 kB / 0.61 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.47, allocations: 15.94 kB / 0.61 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4701, allocations: 11.98 kB / 0.61 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.4702, allocations: 7.984 kB / 0.61 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.4702, allocations: 12 kB / 0.6101 GB, free: 8.996 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001015/0.4712, allocations: 0.7487 MB / 0.6108 GB, free: 8.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4712, allocations: 0 / 0.6108 GB, free: 8.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000319/0.4715, allocations: 79.98 kB / 0.6109 GB, free: 8.172 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.0009703/0.4725, allocations: 421.1 kB / 0.6113 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.4728, allocations: 91.83 kB / 0.6114 GB, free: 7.824 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4728, allocations: 128 / 0.6114 GB, free: 7.824 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.473, allocations: 48.36 kB / 0.6114 GB, free: 7.777 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.4735, allocations: 76.89 kB / 0.6115 GB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.4751, allocations: 0.9985 MB / 0.6125 GB, free: 6.668 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.4755, allocations: 0.843 MB / 0.6133 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.4757, allocations: 90.94 kB / 0.6134 GB, free: 5.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4758, allocations: 39.44 kB / 0.6134 GB, free: 5.676 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4758, allocations: 4 kB / 0.6134 GB, free: 5.672 MB / 426.7 MB Notification: Performance of Templates: time 0.008707/0.4845, allocations: 4.609 MB / 0.6179 GB, free: 1.094 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches