Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001124/0.001124, allocations: 194 kB / 18.12 MB, free: 5.363 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.344/1.344, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.219/0.219, allocations: 44.17 MB / 336.1 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 69.06 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1555, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003492/0.1591, allocations: 1.688 MB / 470.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1609, allocations: 1.015 MB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.1609, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1612, allocations: 15.92 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.1614, allocations: 35.91 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1617, allocations: 115.7 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1618, allocations: 59.78 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1619, allocations: 16.17 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.162, allocations: 19.92 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1621, allocations: 31.84 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1622, allocations: 8 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1623, allocations: 51.91 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1623, allocations: 15.92 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1624, allocations: 23.86 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1626, allocations: 91.77 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1626, allocations: 3.984 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1626, allocations: 0 / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1626, allocations: 0 / 471.7 MB, free: 11.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005124/0.1631, allocations: 383.5 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1632, allocations: 12.03 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1632, allocations: 8.844 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1634, allocations: 194.3 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1634, allocations: 384 / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1635, allocations: 8.375 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1637, allocations: 71.33 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1637, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1637, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1637, allocations: 8 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1639, allocations: 31.97 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1642, allocations: 288.7 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1644, allocations: 46.55 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.1645, allocations: 24.94 kB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1645, allocations: 4 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1645, allocations: 30.56 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.1645, allocations: 0 / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008142/0.1654, allocations: 205.2 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.1654, allocations: 77.11 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1656, allocations: 141.8 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1656, allocations: 25.7 kB / 473.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.1657, allocations: 96.05 kB / 473.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1657, allocations: 23.64 kB / 473.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1658, allocations: 21.72 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1659, allocations: 326.8 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.166, allocations: 35.92 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1661, allocations: 53.73 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1663, allocations: 76.91 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1664, allocations: 0 / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002668/0.1666, allocations: 109.5 kB / 473.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1667, allocations: 9.969 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1667, allocations: 0 / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1667, allocations: 0 / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1668, allocations: 23.92 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1668, allocations: 4 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.1669, allocations: 15.92 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1669, allocations: 0 / 474 MB, free: 9.098 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 (7): * Single equations (assignments): 7 * 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.000107/0.167, allocations: 114.4 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1671, allocations: 7.906 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.1674, allocations: 122 kB / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1674, allocations: 4 kB / 474.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1674, allocations: 3.938 kB / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1674, allocations: 4.219 kB / 474.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.168, allocations: 382.5 kB / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.168, allocations: 3.984 kB / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.1681, allocations: 19.98 kB / 474.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1681, allocations: 3.984 kB / 474.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1682, allocations: 7.938 kB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1682, allocations: 0 / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1682, allocations: 0 / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.1685, allocations: 211.7 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.1686, allocations: 85.02 kB / 474.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1686, allocations: 7.938 kB / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.1687, allocations: 11.98 kB / 475 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.1688, allocations: 3.984 kB / 475 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1688, allocations: 4 kB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.305e-05/0.1689, allocations: 101.4 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1689, allocations: 4 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1692, allocations: 27.98 kB / 475.1 MB, free: 7.887 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 (7): * Single equations (assignments): 7 * 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.00118/0.1704, allocations: 437.3 kB / 475.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.1707, allocations: 87.86 kB / 475.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1707, allocations: 0 / 475.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1709, allocations: 35.98 kB / 475.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1713, allocations: 15.98 kB / 475.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.1719, allocations: 211.8 kB / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1722, allocations: 0.6926 MB / 476.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.932e-05/0.1723, allocations: 16.23 kB / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.1723, allocations: 15.44 kB / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1723, allocations: 4 kB / 476.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Templates: time 0.00447/0.1768, allocations: 1.425 MB / 478 MB, free: 5.086 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches