Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 95.19 kB / 17.35 MB, free: 6.371 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.001319/0.001319, allocations: 176.2 kB / 18.26 MB, free: 5.52 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.437/1.437, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.26 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 9.094 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1567, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002301/0.159, allocations: 1.348 MB / 473.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000999/0.1601, allocations: 435.2 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.1601, allocations: 4 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1605, allocations: 63.8 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1606, allocations: 51.88 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1611, allocations: 155.5 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1613, allocations: 83.75 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1614, allocations: 12 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.26e-05/0.1615, allocations: 31.91 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1616, allocations: 47.77 kB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1616, allocations: 0 / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1618, allocations: 51.92 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.1618, allocations: 15.97 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.1619, allocations: 57.45 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.1621, allocations: 104 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1621, allocations: 0 / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1621, allocations: 0 / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1621, allocations: 0 / 474.7 MB, free: 10.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005991/0.1627, allocations: 409.3 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1628, allocations: 8.031 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1628, allocations: 8.844 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1631, allocations: 200.6 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1631, allocations: 4.312 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1631, allocations: 7.938 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1633, allocations: 69.67 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1633, allocations: 0 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1634, allocations: 4 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1634, allocations: 0 / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1635, allocations: 51.95 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.164, allocations: 328.6 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1643, allocations: 58.55 kB / 475.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.1644, allocations: 40.98 kB / 475.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1644, allocations: 4 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1645, allocations: 34.56 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1645, allocations: 0 / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001637/0.1661, allocations: 497.2 kB / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1662, allocations: 55.41 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1664, allocations: 174.5 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1664, allocations: 25.7 kB / 476.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.1665, allocations: 108 kB / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1665, allocations: 31.55 kB / 476.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1666, allocations: 21.72 kB / 476.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1667, allocations: 322.8 kB / 477.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1669, allocations: 67.89 kB / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.167, allocations: 63.95 kB / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1673, allocations: 141.1 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1673, allocations: 4 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003702/0.1677, allocations: 181.4 kB / 477.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1677, allocations: 11.94 kB / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1678, allocations: 3.938 kB / 477.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1678, allocations: 0 / 477.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1679, allocations: 27.98 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1679, allocations: 7.938 kB / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.168, allocations: 11.98 kB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.168, allocations: 11.94 kB / 477.6 MB, free: 7.738 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 (11): * Single equations (assignments): 11 * 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.0001061/0.1681, allocations: 126.4 kB / 477.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1682, allocations: 11.91 kB / 477.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.1686, allocations: 202.2 kB / 478 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.1686, allocations: 3.984 kB / 478 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1686, allocations: 4 kB / 478 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1686, allocations: 0 / 478 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.1694, allocations: 0.5038 MB / 478.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.1694, allocations: 7.984 kB / 478.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1695, allocations: 39.92 kB / 478.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1695, allocations: 0 / 478.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1696, allocations: 4 kB / 478.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1696, allocations: 4 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1696, allocations: 192 / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.17, allocations: 289 kB / 478.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.1701, allocations: 96.91 kB / 478.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1701, allocations: 12 kB / 478.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.1702, allocations: 11.98 kB / 478.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1703, allocations: 7.984 kB / 478.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1703, allocations: 4 kB / 478.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1704, allocations: 145.5 kB / 479.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1704, allocations: 0 / 479.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1707, allocations: 24 kB / 479.1 MB, free: 6.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001076/0.1718, allocations: 470.7 kB / 479.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.1722, allocations: 147.8 kB / 479.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1722, allocations: 0 / 479.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.1723, allocations: 72.03 kB / 479.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1727, allocations: 19.98 kB / 479.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.1733, allocations: 342.7 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1737, allocations: 0.716 MB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.722e-05/0.1738, allocations: 36.39 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.1738, allocations: 11.44 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1738, allocations: 0 / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of Templates: time 0.004641/0.1785, allocations: 1.487 MB / 482.4 MB, free: 2.996 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches