Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001669/0.001669, allocations: 183.1 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.41/1.41, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008396/0.0008396, allocations: 92.52 kB / 267.1 MB, free: 9.273 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.3438/0.3438, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.146e-05, allocations: 11.98 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.4964, allocations: 87.59 MB / 0.5583 GB, free: 16.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4967, allocations: 67.31 kB / 0.5584 GB, free: 16.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.5096, allocations: 5.274 MB / 0.5636 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5097, allocations: 0.5469 kB / 0.5636 GB, free: 13.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5097, allocations: 0 / 0.5636 GB, free: 13.55 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.0003805/0.5101, allocations: 405.1 kB / 0.564 GB, free: 13.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5101, allocations: 8.031 kB / 0.564 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.5102, allocations: 11.34 kB / 0.564 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.5104, allocations: 214.5 kB / 0.5642 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.5105, allocations: 4 kB / 0.5642 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.5105, allocations: 3.562 kB / 0.5642 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.5106, allocations: 53.77 kB / 0.5642 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5106, allocations: 0 / 0.5642 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5106, allocations: 6.781 kB / 0.5642 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5107, allocations: 0 / 0.5642 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/0.5107, allocations: 23.58 kB / 0.5643 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.5111, allocations: 293.2 kB / 0.5645 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.5112, allocations: 51.34 kB / 0.5646 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.5112, allocations: 28.08 kB / 0.5646 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.5112, allocations: 4 kB / 0.5646 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.5114, allocations: 67.67 kB / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.5114, allocations: 3.938 kB / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000411/0.5118, allocations: 163.4 kB / 0.5648 GB, free: 12.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.5118, allocations: 51.41 kB / 0.5649 GB, free: 12.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.512, allocations: 172.8 kB / 0.5651 GB, free: 12.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.512, allocations: 29.39 kB / 0.5651 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.512, allocations: 99.36 kB / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.5121, allocations: 24.98 kB / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.5121, allocations: 0 / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.5121, allocations: 325 kB / 0.5655 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.5122, allocations: 18.31 kB / 0.5655 GB, free: 11.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/0.5122, allocations: 38.58 kB / 0.5656 GB, free: 11.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.5123, allocations: 22.44 kB / 0.5656 GB, free: 11.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5123, allocations: 4 kB / 0.5656 GB, free: 11.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001228/0.5124, allocations: 101.3 kB / 0.5657 GB, free: 11.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5124, allocations: 8 kB / 0.5657 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5124, allocations: 0 / 0.5657 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5124, allocations: 0 / 0.5657 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.5125, allocations: 22.67 kB / 0.5657 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5126, allocations: 7.953 kB / 0.5657 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.5126, allocations: 1.781 kB / 0.5657 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.5126, allocations: 4 kB / 0.5657 GB, free: 11.42 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 5.11e-05/0.5127, allocations: 113.6 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.5127, allocations: 7.906 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.5129, allocations: 123.3 kB / 0.566 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5129, allocations: 0 / 0.566 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5129, allocations: 0 / 0.566 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5129, allocations: 5.453 kB / 0.566 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.5133, allocations: 411.4 kB / 0.5664 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5133, allocations: 0 / 0.5664 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.5133, allocations: 19.61 kB / 0.5664 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5133, allocations: 0 / 0.5664 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.5133, allocations: 0 / 0.5664 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5133, allocations: 8.797 kB / 0.5664 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5134, allocations: 0 / 0.5664 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.5135, allocations: 216.2 kB / 0.5666 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.5136, allocations: 98.17 kB / 0.5667 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.5136, allocations: 11.89 kB / 0.5667 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.5137, allocations: 0 / 0.5667 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.5137, allocations: 15.73 kB / 0.5667 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.5137, allocations: 8 kB / 0.5667 GB, free: 10.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.031e-05/0.5138, allocations: 138.5 kB / 0.5669 GB, free: 10.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5138, allocations: 0 / 0.5669 GB, free: 10.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.5141, allocations: 27.69 kB / 0.5669 GB, free: 10.28 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.0009287/0.515, allocations: 424.3 kB / 0.5673 GB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.5151, allocations: 58.55 kB / 0.5673 GB, free: 9.891 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5152, allocations: 4.062 kB / 0.5673 GB, free: 9.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.5152, allocations: 31.38 kB / 0.5674 GB, free: 9.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.5154, allocations: 19.55 kB / 0.5674 GB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.5158, allocations: 174.9 kB / 0.5676 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.5159, allocations: 0.7082 MB / 0.5683 GB, free: 8.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.516, allocations: 16.92 kB / 0.5683 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.516, allocations: 23.11 kB / 0.5683 GB, free: 8.898 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.516, allocations: 0 / 0.5683 GB, free: 8.898 MB / 394.7 MB Notification: Performance of Templates: time 0.003558/0.5196, allocations: 1.679 MB / 0.5699 GB, free: 7.234 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches