Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000914/0.0009141, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008271/0.0008271, allocations: 90.59 kB / 267 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3324/0.3324, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.902e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3403/0.4547, allocations: 87.61 MB / 0.5584 GB, free: 1.418 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.455, allocations: 75.23 kB / 0.5584 GB, free: 1.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01415/0.4691, allocations: 5.584 MB / 0.5639 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4692, allocations: 3.5 kB / 0.5639 GB, free: 11.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.4692, allocations: 4 kB / 0.5639 GB, free: 11.8 MB / 394.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.0004385/0.4696, allocations: 400.6 kB / 0.5643 GB, free: 11.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.4697, allocations: 12.03 kB / 0.5643 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.4697, allocations: 19.25 kB / 0.5643 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.47, allocations: 222.8 kB / 0.5645 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4701, allocations: 0 / 0.5645 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.4701, allocations: 4 kB / 0.5645 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.4702, allocations: 53.67 kB / 0.5646 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4702, allocations: 0 / 0.5646 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4702, allocations: 5.375 kB / 0.5646 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4703, allocations: 8 kB / 0.5646 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.4703, allocations: 15.98 kB / 0.5646 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.4707, allocations: 300.8 kB / 0.5649 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.4708, allocations: 58.62 kB / 0.565 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.4709, allocations: 24.91 kB / 0.565 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.4709, allocations: 4 kB / 0.565 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.471, allocations: 63.41 kB / 0.565 GB, free: 10.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.707e-06/0.471, allocations: 0 / 0.565 GB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004231/0.4715, allocations: 161.1 kB / 0.5652 GB, free: 10.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.4715, allocations: 52.72 kB / 0.5652 GB, free: 10.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.4717, allocations: 202.6 kB / 0.5654 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4718, allocations: 25.7 kB / 0.5655 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.4718, allocations: 116 kB / 0.5656 GB, free: 9.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.4719, allocations: 27.64 kB / 0.5656 GB, free: 9.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.4719, allocations: 3.938 kB / 0.5656 GB, free: 9.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.472, allocations: 326.8 kB / 0.5659 GB, free: 9.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.568e-05/0.472, allocations: 16 kB / 0.5659 GB, free: 9.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.4721, allocations: 34.38 kB / 0.566 GB, free: 9.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.4721, allocations: 19.98 kB / 0.566 GB, free: 9.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4722, allocations: 0 / 0.566 GB, free: 9.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001409/0.4723, allocations: 101.5 kB / 0.5661 GB, free: 9.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4723, allocations: 4 kB / 0.5661 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4723, allocations: 3.984 kB / 0.5661 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4724, allocations: 4 kB / 0.5661 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.4724, allocations: 12.19 kB / 0.5661 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4725, allocations: 3.953 kB / 0.5661 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.4725, allocations: 11.94 kB / 0.5661 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4725, allocations: 7.984 kB / 0.5661 GB, free: 9.309 MB / 394.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 () * 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 8.015e-05/0.4726, allocations: 114.7 kB / 0.5662 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.4726, allocations: 15.81 kB / 0.5662 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.4729, allocations: 115.3 kB / 0.5664 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4729, allocations: 3.938 kB / 0.5664 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4729, allocations: 4 kB / 0.5664 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.4729, allocations: 7.938 kB / 0.5664 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.4733, allocations: 415.3 kB / 0.5668 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4733, allocations: 4.031 kB / 0.5668 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.4734, allocations: 12 kB / 0.5668 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4734, allocations: 0 / 0.5668 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4734, allocations: 0 / 0.5668 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.4734, allocations: 8.141 kB / 0.5668 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4734, allocations: 7.938 kB / 0.5668 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.4736, allocations: 217.9 kB / 0.567 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.4737, allocations: 104.9 kB / 0.5671 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4737, allocations: 3.953 kB / 0.5671 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.4738, allocations: 7.984 kB / 0.5671 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.4739, allocations: 8 kB / 0.5671 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.4739, allocations: 4 kB / 0.5671 GB, free: 8.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.474, allocations: 169.9 kB / 0.5673 GB, free: 8.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.474, allocations: 0 / 0.5673 GB, free: 8.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.4743, allocations: 31.94 kB / 0.5673 GB, free: 7.973 MB / 394.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) * 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.000911/0.4752, allocations: 426.8 kB / 0.5677 GB, free: 7.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.4753, allocations: 63.91 kB / 0.5678 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4753, allocations: 0 / 0.5678 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.052e-05/0.4754, allocations: 28.06 kB / 0.5678 GB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.4756, allocations: 24.17 kB / 0.5678 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.476, allocations: 204 kB / 0.568 GB, free: 7.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.4763, allocations: 0.7121 MB / 0.5687 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.4764, allocations: 24.91 kB / 0.5688 GB, free: 6.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.4764, allocations: 19.44 kB / 0.5688 GB, free: 6.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4764, allocations: 0 / 0.5688 GB, free: 6.508 MB / 394.7 MB Notification: Performance of Templates: time 0.003961/0.4804, allocations: 1.766 MB / 0.5705 GB, free: 4.754 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches