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.001075/0.001075, allocations: 183.7 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.296/1.296, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0007688/0.0007686, allocations: 89.12 kB / 267 MB, free: 9.27 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.3282/0.3282, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.081e-05, allocations: 7.984 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.4374, allocations: 87.62 MB / 0.5584 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4377, allocations: 76.33 kB / 0.5585 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.4505, allocations: 5.55 MB / 0.5639 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4505, allocations: 4 kB / 0.5639 GB, free: 13.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4506, allocations: 0 / 0.5639 GB, free: 13.23 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.0003404/0.4509, allocations: 400.7 kB / 0.5643 GB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.451, allocations: 12.03 kB / 0.5643 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.451, allocations: 16.47 kB / 0.5643 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.4513, allocations: 225.2 kB / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4513, allocations: 0 / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.4513, allocations: 8.234 kB / 0.5645 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.853e-05/0.4514, allocations: 50.38 kB / 0.5646 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4514, allocations: 0 / 0.5646 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4514, allocations: 2.781 kB / 0.5646 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4515, allocations: 4 kB / 0.5646 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.4515, allocations: 21.72 kB / 0.5646 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.4518, allocations: 305.8 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.452, allocations: 54.25 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.452, allocations: 18.89 kB / 0.5649 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.452, allocations: 0 / 0.5649 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.4521, allocations: 74.33 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.4521, allocations: 4 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000375/0.4525, allocations: 154.3 kB / 0.5652 GB, free: 11.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.4525, allocations: 51.41 kB / 0.5652 GB, free: 11.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.4527, allocations: 204.3 kB / 0.5654 GB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.4527, allocations: 29.33 kB / 0.5654 GB, free: 11.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.4528, allocations: 115.4 kB / 0.5655 GB, free: 11.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.4528, allocations: 26.52 kB / 0.5656 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4528, allocations: 0 / 0.5656 GB, free: 11.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.4529, allocations: 330.7 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.4529, allocations: 23.42 kB / 0.5659 GB, free: 11.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.4529, allocations: 31.06 kB / 0.5659 GB, free: 11.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.453, allocations: 23.67 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.453, allocations: 0 / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001183/0.4531, allocations: 96.03 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4531, allocations: 8 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4532, allocations: 160 / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4532, allocations: 4.031 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.4533, allocations: 19.36 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4533, allocations: 7.938 kB / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.4533, allocations: 4 kB / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.4533, allocations: 4 kB / 0.5661 GB, free: 11 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 4.72e-05/0.4534, allocations: 114.7 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.4534, allocations: 11.81 kB / 0.5662 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.4536, allocations: 118.4 kB / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4536, allocations: 8 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4536, allocations: 1.312 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4536, allocations: 7.938 kB / 0.5663 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.454, allocations: 408.5 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.454, allocations: 4 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.454, allocations: 15.67 kB / 0.5668 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.454, allocations: 0 / 0.5668 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.454, allocations: 7.984 kB / 0.5668 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.454, allocations: 7.984 kB / 0.5668 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.454, allocations: 0 / 0.5668 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.4542, allocations: 218.1 kB / 0.567 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.4542, allocations: 103.8 kB / 0.5671 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.4543, allocations: 7.953 kB / 0.5671 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.4544, allocations: 3.25 kB / 0.5671 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.4544, allocations: 11.98 kB / 0.5671 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.4544, allocations: 4 kB / 0.5671 GB, free: 9.953 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.4545, allocations: 167.5 kB / 0.5673 GB, free: 9.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4545, allocations: 0 / 0.5673 GB, free: 9.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.4548, allocations: 39.36 kB / 0.5673 GB, free: 9.781 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.0008017/0.4556, allocations: 433.6 kB / 0.5677 GB, free: 9.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.4557, allocations: 54.31 kB / 0.5678 GB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4557, allocations: 0 / 0.5678 GB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.4558, allocations: 31.23 kB / 0.5678 GB, free: 9.367 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.456, allocations: 23.42 kB / 0.5678 GB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.4563, allocations: 205.6 kB / 0.568 GB, free: 9.141 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.4564, allocations: 0.7158 MB / 0.5687 GB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.4565, allocations: 20.84 kB / 0.5687 GB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.4565, allocations: 15.44 kB / 0.5687 GB, free: 8.367 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.4565, allocations: 0 / 0.5687 GB, free: 8.367 MB / 394.7 MB Notification: Performance of Templates: time 0.003392/0.4599, allocations: 1.76 MB / 0.5705 GB, free: 6.629 MB / 394.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