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.0008841/0.0008839, allocations: 179.9 kB / 16.77 MB, free: 5.051 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.643/1.643, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0008477/0.0008477, allocations: 82.41 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.4188/0.4188, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003949, allocations: 12 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1431, allocations: 58.86 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3941/0.5372, allocations: 87.76 MB / 0.5657 GB, free: 14.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.5375, allocations: 75.95 kB / 0.5657 GB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.5524, allocations: 5.566 MB / 0.5712 GB, free: 8.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5525, allocations: 0 / 0.5712 GB, free: 8.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.5525, allocations: 0 / 0.5712 GB, free: 8.645 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.0005298/0.553, allocations: 437.8 kB / 0.5716 GB, free: 8.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5531, allocations: 8.031 kB / 0.5716 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.5531, allocations: 8.844 kB / 0.5716 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.5534, allocations: 232 kB / 0.5718 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.5534, allocations: 384 / 0.5718 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.5535, allocations: 4.375 kB / 0.5718 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.5536, allocations: 55.42 kB / 0.5719 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5536, allocations: 4.125 kB / 0.5719 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.5537, allocations: 11.92 kB / 0.5719 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5537, allocations: 4 kB / 0.5719 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.061e-05/0.5538, allocations: 19.98 kB / 0.5719 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.5542, allocations: 296.9 kB / 0.5722 GB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.5543, allocations: 66.55 kB / 0.5723 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.5544, allocations: 28.78 kB / 0.5723 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.5544, allocations: 0 / 0.5723 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.5546, allocations: 68.27 kB / 0.5724 GB, free: 7.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.5546, allocations: 0 / 0.5724 GB, free: 7.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000563/0.5552, allocations: 185.3 kB / 0.5725 GB, free: 7.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.5552, allocations: 51.41 kB / 0.5726 GB, free: 7.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.5554, allocations: 222.7 kB / 0.5728 GB, free: 6.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.5555, allocations: 25.7 kB / 0.5728 GB, free: 6.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.5555, allocations: 108.1 kB / 0.5729 GB, free: 6.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.5556, allocations: 31.62 kB / 0.573 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5556, allocations: 0 / 0.573 GB, free: 6.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5557, allocations: 330.8 kB / 0.5733 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.5558, allocations: 19.98 kB / 0.5733 GB, free: 6.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.5558, allocations: 33.7 kB / 0.5733 GB, free: 6.219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.556, allocations: 74.45 kB / 0.5734 GB, free: 6.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.556, allocations: 0 / 0.5734 GB, free: 6.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.5561, allocations: 105.4 kB / 0.5735 GB, free: 6.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5562, allocations: 4 kB / 0.5735 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5562, allocations: 0 / 0.5735 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5562, allocations: 3.984 kB / 0.5735 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.5563, allocations: 16 kB / 0.5735 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5563, allocations: 4.031 kB / 0.5735 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.5564, allocations: 4.188 kB / 0.5735 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5564, allocations: 0 / 0.5735 GB, free: 6 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.0001047/0.5565, allocations: 139.2 kB / 0.5737 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.5565, allocations: 15.81 kB / 0.5737 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.5568, allocations: 123 kB / 0.5738 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5568, allocations: 4 kB / 0.5738 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5568, allocations: 0 / 0.5738 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5568, allocations: 4 kB / 0.5738 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.5573, allocations: 423.2 kB / 0.5742 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5573, allocations: 4 kB / 0.5742 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.5573, allocations: 11.94 kB / 0.5742 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5573, allocations: 0 / 0.5742 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.5573, allocations: 0 / 0.5742 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5573, allocations: 7.984 kB / 0.5742 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5574, allocations: 7.875 kB / 0.5742 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.5576, allocations: 212.2 kB / 0.5744 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.5577, allocations: 97 kB / 0.5745 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.5577, allocations: 4 kB / 0.5745 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.5578, allocations: 4 kB / 0.5745 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.5578, allocations: 11.92 kB / 0.5745 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.5578, allocations: 4 kB / 0.5746 GB, free: 4.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.558, allocations: 178.4 kB / 0.5747 GB, free: 4.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.558, allocations: 0 / 0.5747 GB, free: 4.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.5583, allocations: 35.94 kB / 0.5748 GB, free: 4.633 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.001009/0.5593, allocations: 472.6 kB / 0.5752 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.5595, allocations: 63.91 kB / 0.5753 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5595, allocations: 0 / 0.5753 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/0.5595, allocations: 44.05 kB / 0.5753 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.5599, allocations: 23.98 kB / 0.5753 GB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.5604, allocations: 288.9 kB / 0.5756 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.5607, allocations: 0.7121 MB / 0.5763 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.5607, allocations: 20.55 kB / 0.5763 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.5608, allocations: 23.42 kB / 0.5763 GB, free: 3.055 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5608, allocations: 0 / 0.5763 GB, free: 3.055 MB / 394.7 MB Notification: Performance of Templates: time 0.004087/0.5649, allocations: 1.764 MB / 0.5781 GB, free: 1.305 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/jenkins1/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