Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 182.7 kB / 15.76 MB, free: 6.367 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.949/1.949, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001035/0.001035, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2494/0.2494, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004335, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 58.85 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.5343, allocations: 87.72 MB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.5346, allocations: 74.22 kB / 0.5645 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.5501, allocations: 5.557 MB / 0.5699 GB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5501, allocations: 4 kB / 0.5699 GB, free: 7.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5502, allocations: 0 / 0.5699 GB, free: 7.324 MB / 378.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.0005878/0.5508, allocations: 436.8 kB / 0.5703 GB, free: 6.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5508, allocations: 8.031 kB / 0.5703 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.5509, allocations: 11.89 kB / 0.5704 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.5512, allocations: 226 kB / 0.5706 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.5512, allocations: 7.734 kB / 0.5706 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.5512, allocations: 7.938 kB / 0.5706 GB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.5514, allocations: 55.67 kB / 0.5706 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5514, allocations: 4 kB / 0.5706 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5514, allocations: 0 / 0.5706 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5514, allocations: 4 kB / 0.5707 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.5515, allocations: 23.3 kB / 0.5707 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.552, allocations: 301.7 kB / 0.571 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.5522, allocations: 63.98 kB / 0.571 GB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.5522, allocations: 4 kB / 0.571 GB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.5523, allocations: 68.64 kB / 0.5711 GB, free: 6.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.5524, allocations: 0 / 0.5711 GB, free: 6.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005901/0.553, allocations: 176 kB / 0.5713 GB, free: 5.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.553, allocations: 63.34 kB / 0.5713 GB, free: 5.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5532, allocations: 197.9 kB / 0.5715 GB, free: 5.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.5533, allocations: 33.7 kB / 0.5715 GB, free: 5.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.5533, allocations: 106.3 kB / 0.5716 GB, free: 5.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.5534, allocations: 26.77 kB / 0.5717 GB, free: 5.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5534, allocations: 0 / 0.5717 GB, free: 5.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5535, allocations: 325.3 kB / 0.572 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.5536, allocations: 18.31 kB / 0.572 GB, free: 5.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.5537, allocations: 50.44 kB / 0.572 GB, free: 5.109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.5538, allocations: 26.31 kB / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5538, allocations: 0 / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002549/0.5541, allocations: 111.2 kB / 0.5722 GB, free: 4.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5541, allocations: 4 kB / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5541, allocations: 0 / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5542, allocations: 0 / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.5543, allocations: 16 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5543, allocations: 0 / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.5544, allocations: 11.94 kB / 0.5722 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.5544, allocations: 7.281 kB / 0.5722 GB, free: 4.961 MB / 378.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 (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 0.0001147/0.5545, allocations: 129.1 kB / 0.5723 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.5546, allocations: 15.81 kB / 0.5724 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.5548, allocations: 120.1 kB / 0.5725 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5548, allocations: 0 / 0.5725 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5549, allocations: 4 kB / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5549, allocations: 0 / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.5554, allocations: 427.4 kB / 0.5729 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5554, allocations: 0 / 0.5729 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.5554, allocations: 16.31 kB / 0.5729 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.5554, allocations: 3.984 kB / 0.5729 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5554, allocations: 3.188 kB / 0.5729 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.5555, allocations: 11.95 kB / 0.5729 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5555, allocations: 0 / 0.5729 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.5557, allocations: 221.3 kB / 0.5731 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.5558, allocations: 99.06 kB / 0.5732 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.5558, allocations: 5.891 kB / 0.5732 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.5559, allocations: 5.25 kB / 0.5732 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.556, allocations: 9.297 kB / 0.5732 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.556, allocations: 7.938 kB / 0.5732 GB, free: 3.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.5562, allocations: 174.8 kB / 0.5734 GB, free: 3.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5562, allocations: 0 / 0.5734 GB, free: 3.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.5565, allocations: 35.62 kB / 0.5734 GB, free: 3.711 MB / 378.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) * Number of clocked states: 0 () * 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.001096/0.5576, allocations: 475.5 kB / 0.5739 GB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.5578, allocations: 64.67 kB / 0.574 GB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.5578, allocations: 3.938 kB / 0.574 GB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.5579, allocations: 35.8 kB / 0.574 GB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.5582, allocations: 24.09 kB / 0.574 GB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.5587, allocations: 277.5 kB / 0.5743 GB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.5592, allocations: 0.7198 MB / 0.575 GB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.937e-05/0.5592, allocations: 20.67 kB / 0.575 GB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.5593, allocations: 23.42 kB / 0.575 GB, free: 2.141 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5593, allocations: 0 / 0.575 GB, free: 2.141 MB / 378.7 MB Notification: Performance of Templates: time 0.004881/0.5642, allocations: 1.738 MB / 0.5767 GB, free: 432 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches