Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 175.9 kB / 16.76 MB, free: 5.031 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.638/1.638, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008295/0.0008294, allocations: 88.7 kB / 271.3 MB, free: 8.25 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.3774/0.3774, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 24 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1442, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4018/0.546, allocations: 87.76 MB / 0.5657 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.5463, allocations: 79.95 kB / 0.5657 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01558/0.5619, allocations: 5.565 MB / 0.5712 GB, free: 8.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5619, allocations: 0 / 0.5712 GB, free: 8.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.5619, allocations: 0 / 0.5712 GB, free: 8.66 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.0006219/0.5626, allocations: 441.8 kB / 0.5716 GB, free: 8.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.5626, allocations: 8.031 kB / 0.5716 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.5627, allocations: 8.844 kB / 0.5716 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.563, allocations: 232 kB / 0.5718 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.5631, allocations: 384 / 0.5718 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.5631, allocations: 4.375 kB / 0.5718 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.5632, allocations: 54.23 kB / 0.5719 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5633, allocations: 8.125 kB / 0.5719 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5633, allocations: 3.938 kB / 0.5719 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5633, allocations: 4 kB / 0.5719 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.38e-05/0.5634, allocations: 15.98 kB / 0.5719 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.5638, allocations: 300.9 kB / 0.5722 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.564, allocations: 66.61 kB / 0.5723 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.5641, allocations: 28.72 kB / 0.5723 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.5641, allocations: 3.984 kB / 0.5723 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.5643, allocations: 71.39 kB / 0.5724 GB, free: 7.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.5643, allocations: 0 / 0.5724 GB, free: 7.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005899/0.5649, allocations: 181.1 kB / 0.5725 GB, free: 7.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.565, allocations: 55.41 kB / 0.5726 GB, free: 7.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.5652, allocations: 214.7 kB / 0.5728 GB, free: 6.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.5653, allocations: 29.7 kB / 0.5728 GB, free: 6.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.5653, allocations: 108.1 kB / 0.5729 GB, free: 6.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.5654, allocations: 31.62 kB / 0.573 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.5654, allocations: 0 / 0.573 GB, free: 6.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5655, allocations: 326.8 kB / 0.5733 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.5656, allocations: 23.98 kB / 0.5733 GB, free: 6.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.5657, allocations: 37.7 kB / 0.5733 GB, free: 6.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.5658, allocations: 69.7 kB / 0.5734 GB, free: 6.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.5658, allocations: 0 / 0.5734 GB, free: 6.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.566, allocations: 101.4 kB / 0.5735 GB, free: 6.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.566, allocations: 4.188 kB / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.566, allocations: 0 / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5661, allocations: 3.938 kB / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.5662, allocations: 28.02 kB / 0.5735 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5662, allocations: 0 / 0.5735 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.5662, allocations: 4 kB / 0.5735 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.5662, allocations: 0 / 0.5735 GB, free: 6.008 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 () * 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.0001176/0.5664, allocations: 137.3 kB / 0.5737 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.5664, allocations: 15.81 kB / 0.5737 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.5667, allocations: 123 kB / 0.5738 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5667, allocations: 0 / 0.5738 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5667, allocations: 8 kB / 0.5738 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5667, allocations: 0 / 0.5738 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.5673, allocations: 419.2 kB / 0.5742 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.5673, allocations: 4 kB / 0.5742 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.5674, allocations: 15.94 kB / 0.5742 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5674, allocations: 0 / 0.5742 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5674, allocations: 0 / 0.5742 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.5674, allocations: 7.984 kB / 0.5742 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5674, allocations: 11.91 kB / 0.5742 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.5677, allocations: 208.1 kB / 0.5744 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.5678, allocations: 97 kB / 0.5745 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.5678, allocations: 0 / 0.5745 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.5679, allocations: 4.375 kB / 0.5745 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.568, allocations: 15.92 kB / 0.5745 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.568, allocations: 12 kB / 0.5746 GB, free: 4.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.5682, allocations: 170.4 kB / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5682, allocations: 0 / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.5685, allocations: 35.94 kB / 0.5748 GB, free: 4.645 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) * 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.001331/0.5698, allocations: 477.4 kB / 0.5752 GB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.5701, allocations: 63.91 kB / 0.5753 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5701, allocations: 0 / 0.5753 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.5702, allocations: 36.06 kB / 0.5753 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.5707, allocations: 23.98 kB / 0.5753 GB, free: 4.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006654/0.5713, allocations: 288.9 kB / 0.5756 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.5717, allocations: 0.72 MB / 0.5763 GB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.5718, allocations: 12.56 kB / 0.5763 GB, free: 3.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.5719, allocations: 19.42 kB / 0.5763 GB, free: 3.07 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5719, allocations: 0 / 0.5763 GB, free: 3.07 MB / 394.7 MB Notification: Performance of Templates: time 0.005685/0.5776, allocations: 1.764 MB / 0.5781 GB, free: 1.324 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches