Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 183 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.48/1.48, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008237/0.0008237, allocations: 86.59 kB / 267 MB, free: 9.281 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.3922/0.3922, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.402e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1298, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4127/0.5425, allocations: 87.57 MB / 0.5583 GB, free: 16.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.5429, allocations: 75.48 kB / 0.5584 GB, free: 16.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01433/0.5572, allocations: 5.384 MB / 0.5637 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5573, allocations: 3.5 kB / 0.5637 GB, free: 13.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.5573, allocations: 8 kB / 0.5637 GB, free: 13.4 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.0005165/0.5578, allocations: 397.7 kB / 0.5641 GB, free: 12.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.5579, allocations: 8.031 kB / 0.5641 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.558, allocations: 19.25 kB / 0.5641 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.5583, allocations: 213.6 kB / 0.5643 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.5583, allocations: 4 kB / 0.5643 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.5584, allocations: 3.938 kB / 0.5643 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.5585, allocations: 57.62 kB / 0.5643 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.5586, allocations: 0 / 0.5643 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.5586, allocations: 5.375 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.5586, allocations: 0 / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.5587, allocations: 17.61 kB / 0.5644 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.5592, allocations: 297.9 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.5594, allocations: 55.53 kB / 0.5647 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.5594, allocations: 26.42 kB / 0.5647 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.5594, allocations: 0 / 0.5647 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.5596, allocations: 67.66 kB / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.5596, allocations: 4 kB / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005417/0.5602, allocations: 166.9 kB / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.5602, allocations: 55.39 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.5605, allocations: 195.1 kB / 0.5652 GB, free: 11.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.5605, allocations: 28.77 kB / 0.5652 GB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.5605, allocations: 109.7 kB / 0.5653 GB, free: 11.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.5606, allocations: 22.83 kB / 0.5654 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.5606, allocations: 3.375 kB / 0.5654 GB, free: 11.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.5607, allocations: 324.3 kB / 0.5657 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.5607, allocations: 17.94 kB / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.5608, allocations: 35.56 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.5608, allocations: 27.11 kB / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5608, allocations: 0 / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001371/0.561, allocations: 100.6 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.561, allocations: 7.984 kB / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.561, allocations: 0 / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.561, allocations: 4 kB / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.5611, allocations: 15.25 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5612, allocations: 8.094 kB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.5612, allocations: 15.95 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.5612, allocations: 4 kB / 0.5659 GB, free: 11.2 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 6.115e-05/0.5613, allocations: 105.2 kB / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.5613, allocations: 11.91 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.5615, allocations: 118.6 kB / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5615, allocations: 0 / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5616, allocations: 1.312 kB / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5616, allocations: 3.953 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.5619, allocations: 416.5 kB / 0.5665 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.562, allocations: 7.969 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.562, allocations: 19.88 kB / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.562, allocations: 0 / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.562, allocations: 0 / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.562, allocations: 7.953 kB / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.562, allocations: 3.938 kB / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.5622, allocations: 218.4 kB / 0.5668 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.5623, allocations: 100.7 kB / 0.5669 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.5623, allocations: 3.953 kB / 0.5669 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.5624, allocations: 4 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.5625, allocations: 7.984 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.5625, allocations: 3.875 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.5626, allocations: 158.9 kB / 0.567 GB, free: 10.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5626, allocations: 8 kB / 0.567 GB, free: 10.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.5629, allocations: 31.48 kB / 0.5671 GB, free: 10.01 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.0009543/0.5638, allocations: 434.2 kB / 0.5675 GB, free: 9.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.564, allocations: 55.12 kB / 0.5675 GB, free: 9.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.564, allocations: 0 / 0.5675 GB, free: 9.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.564, allocations: 35.36 kB / 0.5676 GB, free: 9.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.5643, allocations: 19.86 kB / 0.5676 GB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.5646, allocations: 186.9 kB / 0.5678 GB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.5648, allocations: 0.7123 MB / 0.5685 GB, free: 8.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.5648, allocations: 26.27 kB / 0.5685 GB, free: 8.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.5649, allocations: 15.44 kB / 0.5685 GB, free: 8.625 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5649, allocations: 0 / 0.5685 GB, free: 8.625 MB / 394.7 MB Notification: Performance of Templates: time 0.003702/0.5686, allocations: 1.742 MB / 0.5702 GB, free: 6.898 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches