Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 111.1 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 193.3 kB / 18.25 MB, free: 5.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241.9 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.18 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 70.33 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1507, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.005096/0.1559, allocations: 1.629 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1571, allocations: 431.2 kB / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.1572, allocations: 0 / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008056/0.158, allocations: 447.2 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.1586, allocations: 247.5 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.1592, allocations: 153.5 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1595, allocations: 159.7 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1596, allocations: 12 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1598, allocations: 115.7 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.1601, allocations: 215.6 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.1602, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.1603, allocations: 20 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1604, allocations: 91.61 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1606, allocations: 95 kB / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.1609, allocations: 239 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.161, allocations: 8 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.161, allocations: 0 / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.161, allocations: 0 / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009381/0.1619, allocations: 0.6144 MB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.162, allocations: 8.031 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1622, allocations: 48.36 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.1626, allocations: 288.2 kB / 473.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1626, allocations: 8.359 kB / 473.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.1627, allocations: 8.297 kB / 473.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.1629, allocations: 57.81 kB / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1629, allocations: 0 / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.163, allocations: 0 / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.163, allocations: 0 / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1631, allocations: 23.98 kB / 473.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.1638, allocations: 380.7 kB / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.164, allocations: 42.5 kB / 474 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.565e-05/0.164, allocations: 16.91 kB / 474 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1641, allocations: 3.938 kB / 474 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.1641, allocations: 30.56 kB / 474 MB, free: 9.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.1642, allocations: 0 / 474 MB, free: 9.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003891/0.1645, allocations: 105.1 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1646, allocations: 59.47 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.1659, allocations: 0.8574 MB / 475.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1659, allocations: 29.64 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.1661, allocations: 220.1 kB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1662, allocations: 7.906 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.1662, allocations: 9.719 kB / 475.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1664, allocations: 366.7 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.1665, allocations: 12 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.1666, allocations: 11.98 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1667, allocations: 32.84 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1667, allocations: 0 / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000219/0.1669, allocations: 89.16 kB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.167, allocations: 4 kB / 475.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.167, allocations: 4 kB / 475.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.167, allocations: 4.094 kB / 475.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.1671, allocations: 7.984 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1671, allocations: 0 / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.1672, allocations: 0 / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1672, allocations: 4 kB / 475.8 MB, free: 7.348 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.1675, allocations: 213.7 kB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/0.1676, allocations: 39.44 kB / 476.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.1678, allocations: 112.6 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1679, allocations: 0 / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1679, allocations: 0 / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1679, allocations: 0 / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.1683, allocations: 285.5 kB / 476.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1683, allocations: 3.938 kB / 476.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.1684, allocations: 11.98 kB / 476.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1684, allocations: 0 / 476.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1684, allocations: 0 / 476.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1684, allocations: 0 / 476.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1684, allocations: 0 / 476.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.1687, allocations: 191 kB / 476.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.966e-05/0.1688, allocations: 112.6 kB / 476.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.1689, allocations: 0 / 476.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.169, allocations: 4 kB / 476.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.169, allocations: 4 kB / 476.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.169, allocations: 0 / 476.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009321/0.17, allocations: 0.6627 MB / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.17, allocations: 0 / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.1704, allocations: 20 kB / 477.5 MB, free: 5.605 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.1717, allocations: 357.2 kB / 477.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1719, allocations: 27.97 kB / 477.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1719, allocations: 0 / 477.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.172, allocations: 12 kB / 477.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.1726, allocations: 25.58 kB / 477.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1742, allocations: 0.8492 MB / 478.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.1749, allocations: 0.8221 MB / 479.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.31e-05/0.175, allocations: 11.97 kB / 479.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.175, allocations: 11.44 kB / 479.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.175, allocations: 3.938 kB / 479.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of Templates: time 0.007358/0.1824, allocations: 1.249 MB / 480.8 MB, free: 2.332 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches