Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008898/0.0008899, allocations: 187 kB / 18.09 MB, free: 3.727 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.291/1.291, allocations: 223.3 MB / 242.1 MB, free: 11.62 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.0008177/0.0008178, allocations: 102 kB / 293.3 MB, free: 10.77 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.3534/0.3534, allocations: 44.15 MB / 388.5 MB, free: 38.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 12 kB / 461.1 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3663, allocations: 61.88 MB / 0.5107 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4836, allocations: 89.16 MB / 0.5978 GB, free: 5.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4839, allocations: 75.94 kB / 0.5979 GB, free: 5.883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.5009, allocations: 6.72 MB / 0.6044 GB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.501, allocations: 0 / 0.6044 GB, free: 15.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.684e-05/0.501, allocations: 8 kB / 0.6044 GB, free: 15.16 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.001099/0.5021, allocations: 0.7192 MB / 0.6051 GB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.5022, allocations: 8.031 kB / 0.6052 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.5024, allocations: 52.38 kB / 0.6052 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.5033, allocations: 0.492 MB / 0.6057 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.5033, allocations: 4.375 kB / 0.6057 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.5033, allocations: 8.375 kB / 0.6057 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.5035, allocations: 91.86 kB / 0.6058 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5036, allocations: 192 / 0.6058 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5036, allocations: 3.938 kB / 0.6058 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5036, allocations: 4 kB / 0.6058 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.5037, allocations: 31.97 kB / 0.6058 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.5042, allocations: 374.4 kB / 0.6062 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.5045, allocations: 121.1 kB / 0.6063 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/0.5046, allocations: 37.7 kB / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.5046, allocations: 0 / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.5048, allocations: 124.9 kB / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.5048, allocations: 0 / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005192/0.5054, allocations: 205.4 kB / 0.6066 GB, free: 12.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.5054, allocations: 77.11 kB / 0.6067 GB, free: 12.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.5068, allocations: 1.011 MB / 0.6077 GB, free: 11.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.5069, allocations: 37.7 kB / 0.6077 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.507, allocations: 228.1 kB / 0.608 GB, free: 11.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.5071, allocations: 23.62 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.5071, allocations: 4 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5073, allocations: 370.8 kB / 0.6083 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/0.5074, allocations: 31.98 kB / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.5075, allocations: 56.7 kB / 0.6084 GB, free: 10.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.5077, allocations: 99.41 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5077, allocations: 0 / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003314/0.508, allocations: 173 kB / 0.6087 GB, free: 10.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.508, allocations: 13.5 kB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.508, allocations: 64 / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.5081, allocations: 8 kB / 0.6087 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.5082, allocations: 19.98 kB / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5082, allocations: 0 / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.5083, allocations: 19.84 kB / 0.6087 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.5084, allocations: 11.88 kB / 0.6088 GB, free: 10.46 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.0002367/0.5086, allocations: 218.3 kB / 0.609 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.5087, allocations: 63.28 kB / 0.609 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.5091, allocations: 201.6 kB / 0.6092 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5091, allocations: 0 / 0.6092 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5091, allocations: 4 kB / 0.6092 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5091, allocations: 256 / 0.6092 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.5095, allocations: 385.3 kB / 0.6096 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5095, allocations: 4 kB / 0.6096 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.5096, allocations: 8 kB / 0.6096 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5096, allocations: 3.938 kB / 0.6096 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.5096, allocations: 11.98 kB / 0.6096 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.5096, allocations: 0 / 0.6096 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5096, allocations: 4 kB / 0.6096 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.51, allocations: 221.2 kB / 0.6098 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.5103, allocations: 196.3 kB / 0.61 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.5104, allocations: 11.92 kB / 0.61 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.5105, allocations: 8 kB / 0.61 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.5105, allocations: 15.98 kB / 0.61 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5106, allocations: 4 kB / 0.6101 GB, free: 9.023 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009921/0.5116, allocations: 0.7526 MB / 0.6108 GB, free: 8.273 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5116, allocations: 0 / 0.6108 GB, free: 8.273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000326/0.5119, allocations: 80 kB / 0.6109 GB, free: 8.195 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.0009988/0.5129, allocations: 428.3 kB / 0.6113 GB, free: 7.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.5132, allocations: 95.95 kB / 0.6114 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5132, allocations: 0 / 0.6114 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.5133, allocations: 43.92 kB / 0.6114 GB, free: 7.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.5138, allocations: 66 kB / 0.6115 GB, free: 7.734 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.5154, allocations: 0.9986 MB / 0.6124 GB, free: 6.695 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.5159, allocations: 0.843 MB / 0.6133 GB, free: 5.828 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.5161, allocations: 90.94 kB / 0.6134 GB, free: 5.742 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.716e-05/0.5162, allocations: 39.44 kB / 0.6134 GB, free: 5.703 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5162, allocations: 0 / 0.6134 GB, free: 5.703 MB / 426.7 MB Notification: Performance of Templates: time 0.01081/0.527, allocations: 4.619 MB / 0.6179 GB, free: 1.113 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches