Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 96.47 kB / 16.98 MB, free: 5.938 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.001922/0.001922, allocations: 186.8 kB / 17.87 MB, free: 5.594 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.525/1.525, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2023/0.2023, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 10.66 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1558, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002099/0.158, allocations: 1.33 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007315/0.1587, allocations: 371.5 kB / 473.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.1588, allocations: 4 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.1591, allocations: 47.86 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1592, allocations: 51.81 kB / 473.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1596, allocations: 114.6 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1597, allocations: 43.94 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1598, allocations: 15.98 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.132e-05/0.1599, allocations: 27.84 kB / 473.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.16, allocations: 35.91 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.16, allocations: 7.938 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.1601, allocations: 27.98 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.1602, allocations: 23.91 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1602, allocations: 33.7 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1604, allocations: 76.11 kB / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1604, allocations: 0 / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1604, allocations: 0 / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1604, allocations: 0 / 473.6 MB, free: 11.5 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.0005473/0.161, allocations: 410.9 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.161, allocations: 8.562 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.1611, allocations: 7.906 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.1613, allocations: 194.9 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1613, allocations: 8 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1613, allocations: 0 / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1615, allocations: 73.56 kB / 474.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1615, allocations: 11.91 kB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1616, allocations: 3.984 kB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1616, allocations: 0 / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.1617, allocations: 43.97 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.1621, allocations: 312.7 kB / 474.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.1624, allocations: 58.55 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1624, allocations: 0 / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1624, allocations: 34.56 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1624, allocations: 0 / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001463/0.1639, allocations: 468.9 kB / 475.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.164, allocations: 59.34 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1642, allocations: 190.2 kB / 475.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1642, allocations: 25.7 kB / 475.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.1643, allocations: 108.1 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.1643, allocations: 39.44 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1643, allocations: 0 / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1645, allocations: 330.8 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1646, allocations: 47.97 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1647, allocations: 48.08 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1649, allocations: 60.14 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1649, allocations: 0 / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003222/0.1652, allocations: 165.4 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1652, allocations: 4 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1652, allocations: 0 / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1653, allocations: 3.938 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1654, allocations: 31.97 kB / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1654, allocations: 0 / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.1655, allocations: 23.98 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1655, allocations: 4 kB / 476.4 MB, free: 8.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.1656, allocations: 129.8 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.1656, allocations: 7.906 kB / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.166, allocations: 182.8 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1661, allocations: 0 / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1661, allocations: 0 / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1661, allocations: 0 / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.1668, allocations: 499.9 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1668, allocations: 0 / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1669, allocations: 27.98 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1669, allocations: 3.984 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1669, allocations: 4 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1669, allocations: 0 / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1669, allocations: 3.953 kB / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.1675, allocations: 288.5 kB / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.1676, allocations: 100.9 kB / 477.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1677, allocations: 4.094 kB / 477.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.995e-05/0.1678, allocations: 15.92 kB / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.1678, allocations: 15.98 kB / 477.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1679, allocations: 4 kB / 477.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.168, allocations: 152 kB / 477.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1681, allocations: 0 / 477.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1683, allocations: 24 kB / 477.8 MB, free: 7.008 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 (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.001354/0.1697, allocations: 463.2 kB / 478.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.1701, allocations: 123.9 kB / 478.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1701, allocations: 0 / 478.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.1703, allocations: 63.91 kB / 478.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1706, allocations: 23.91 kB / 478.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.1714, allocations: 287.1 kB / 478.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.1719, allocations: 0.72 MB / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.992e-05/0.1719, allocations: 16.41 kB / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.172, allocations: 11.44 kB / 479.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.172, allocations: 0 / 479.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Templates: time 0.004481/0.1765, allocations: 1.451 MB / 480.9 MB, free: 4.004 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches