Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007729/0.0007726, allocations: 82.58 kB / 261.7 MB, free: 1.68 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.2639/0.2639, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.567e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1496, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4911/0.6407, allocations: 86.15 MB / 0.5501 GB, free: 8.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/0.6412, allocations: 74.2 kB / 0.5501 GB, free: 8.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.657, allocations: 7.918 MB / 0.5579 GB, free: 1.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6571, allocations: 0 / 0.5579 GB, free: 1.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.6571, allocations: 4 kB / 0.5579 GB, free: 1.844 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005818/0.6577, allocations: 0.5487 MB / 0.5584 GB, free: 1.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.6578, allocations: 11.97 kB / 0.5584 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.6579, allocations: 47.39 kB / 0.5585 GB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.6584, allocations: 325.4 kB / 0.5588 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.6584, allocations: 4 kB / 0.5588 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.6585, allocations: 4 kB / 0.5588 GB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.409e-05/0.6586, allocations: 11.12 kB / 0.5588 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.6587, allocations: 41.5 kB / 0.5588 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.6587, allocations: 8 kB / 0.5588 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.6588, allocations: 0 / 0.5588 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.6588, allocations: 3.953 kB / 0.5588 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.6593, allocations: 415.6 kB / 0.5592 GB, free: 432 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.6595, allocations: 29.83 kB / 0.5593 GB, free: 396 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.6596, allocations: 12.8 kB / 0.5593 GB, free: 384 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.6596, allocations: 0 / 0.5593 GB, free: 384 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.6597, allocations: 34.64 kB / 0.5593 GB, free: 340 kB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.6597, allocations: 0 / 0.5593 GB, free: 340 kB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000556/0.6602, allocations: 194.5 kB / 0.5595 GB, free: 152 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.6603, allocations: 59.16 kB / 0.5595 GB, free: 84 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.6614, allocations: 0.746 MB / 0.5603 GB, free: 15.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.6615, allocations: 25.7 kB / 0.5603 GB, free: 15.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.6616, allocations: 218 kB / 0.5605 GB, free: 15.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.6617, allocations: 11.75 kB / 0.5605 GB, free: 15.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.6617, allocations: 0 / 0.5605 GB, free: 15.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.6619, allocations: 356.7 kB / 0.5609 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.6619, allocations: 15.88 kB / 0.5609 GB, free: 14.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.662, allocations: 15.17 kB / 0.5609 GB, free: 14.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.662, allocations: 7.875 kB / 0.5609 GB, free: 14.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.662, allocations: 0 / 0.5609 GB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001573/0.6622, allocations: 99.81 kB / 0.561 GB, free: 14.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.6622, allocations: 4 kB / 0.561 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6622, allocations: 0 / 0.561 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.6622, allocations: 7.953 kB / 0.561 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.6623, allocations: 11.44 kB / 0.561 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6623, allocations: 8 kB / 0.561 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.6624, allocations: 7.984 kB / 0.561 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.6624, allocations: 0 / 0.561 GB, free: 14.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001038/0.6626, allocations: 105 kB / 0.5611 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.6626, allocations: 35.53 kB / 0.5612 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.6629, allocations: 115.1 kB / 0.5613 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6629, allocations: 7.938 kB / 0.5613 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6629, allocations: 4 kB / 0.5613 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6629, allocations: 0 / 0.5613 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.6637, allocations: 0.5388 MB / 0.5618 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6637, allocations: 3.984 kB / 0.5618 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.6637, allocations: 16 kB / 0.5618 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6637, allocations: 0 / 0.5618 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.6638, allocations: 7.953 kB / 0.5618 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.6638, allocations: 0 / 0.5618 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.6638, allocations: 3.938 kB / 0.5618 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.664, allocations: 190.1 kB / 0.562 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.6642, allocations: 158.7 kB / 0.5622 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.6642, allocations: 0 / 0.5622 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.6643, allocations: 11.94 kB / 0.5622 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.6644, allocations: 7.188 kB / 0.5622 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.6644, allocations: 0 / 0.5622 GB, free: 13.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006901/0.6651, allocations: 0.6118 MB / 0.5628 GB, free: 13.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6651, allocations: 0 / 0.5628 GB, free: 13.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.6654, allocations: 63.92 kB / 0.5629 GB, free: 13.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001015/0.6665, allocations: 336 kB / 0.5632 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.6666, allocations: 25.62 kB / 0.5632 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.6667, allocations: 4 kB / 0.5632 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.6667, allocations: 23.17 kB / 0.5632 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.6671, allocations: 19.39 kB / 0.5632 GB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.6682, allocations: 0.7038 MB / 0.5639 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.6688, allocations: 0.8275 MB / 0.5647 GB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.444e-05/0.6689, allocations: 39.98 kB / 0.5648 GB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.669, allocations: 23.44 kB / 0.5648 GB, free: 11.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.669, allocations: 3.938 kB / 0.5648 GB, free: 11.27 MB / 378.7 MB Notification: Performance of Templates: time 0.006503/0.6755, allocations: 2.11 MB / 0.5669 GB, free: 9.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches