Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001533, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001186/0.001186, allocations: 191 kB / 19.34 MB, free: 3.641 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.486/1.486, allocations: 222.9 MB / 243 MB, free: 15.09 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.2639/0.2639, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 64.25 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1506, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004551/0.1552, allocations: 1.947 MB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1571, allocations: 0.8651 MB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.1573, allocations: 0 / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.1579, allocations: 255.2 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.1583, allocations: 195.3 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1596, allocations: 481.3 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.1599, allocations: 287.2 kB / 474.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1601, allocations: 72.56 kB / 474.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1602, allocations: 127.5 kB / 474.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1604, allocations: 191.3 kB / 475.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1604, allocations: 12 kB / 475.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1606, allocations: 67.97 kB / 475.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1607, allocations: 91.61 kB / 475.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.1608, allocations: 107.1 kB / 475.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.1611, allocations: 294.9 kB / 475.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1611, allocations: 0 / 475.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1611, allocations: 0 / 475.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1612, allocations: 0 / 475.7 MB, free: 8.691 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005642/0.1617, allocations: 0.6108 MB / 476.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.394e-05/0.1618, allocations: 16.03 kB / 476.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.1618, allocations: 44.45 kB / 476.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.1621, allocations: 302.2 kB / 476.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1621, allocations: 8.375 kB / 476.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1621, allocations: 12.38 kB / 476.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1623, allocations: 105.8 kB / 476.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1623, allocations: 0 / 476.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1624, allocations: 8 kB / 476.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-06/0.1624, allocations: 0 / 476.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.1625, allocations: 75.89 kB / 476.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.163, allocations: 472.3 kB / 477.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1632, allocations: 90.48 kB / 477.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.1633, allocations: 32.84 kB / 477.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1633, allocations: 15.97 kB / 477.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1633, allocations: 34.56 kB / 477.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1634, allocations: 0 / 477.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007633/0.1641, allocations: 372.1 kB / 477.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1642, allocations: 55.41 kB / 477.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.1647, allocations: 0.521 MB / 478.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1647, allocations: 29.7 kB / 478.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1648, allocations: 196.4 kB / 478.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.1649, allocations: 55.16 kB / 478.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1649, allocations: 37.7 kB / 478.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1651, allocations: 342.8 kB / 479 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1652, allocations: 47.98 kB / 479.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.751e-05/0.1653, allocations: 51.97 kB / 479.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.1655, allocations: 127.1 kB / 479.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1656, allocations: 3.938 kB / 479.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000287/0.1658, allocations: 189.1 kB / 479.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.1659, allocations: 8 kB / 479.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1659, allocations: 0 / 479.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1659, allocations: 0 / 479.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1661, allocations: 35.97 kB / 479.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1661, allocations: 4 kB / 479.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.1661, allocations: 19.88 kB / 479.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1662, allocations: 4 kB / 479.5 MB, free: 4.598 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 (17): * Single equations (assignments): 17 * 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.0001566/0.1663, allocations: 177.7 kB / 479.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.1664, allocations: 39.52 kB / 479.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.1668, allocations: 231.8 kB / 480 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1668, allocations: 7.984 kB / 480 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1668, allocations: 0 / 480 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1668, allocations: 4 kB / 480 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.1676, allocations: 0.6035 MB / 480.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1676, allocations: 0 / 480.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1677, allocations: 35.92 kB / 480.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1677, allocations: 4 kB / 480.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1677, allocations: 0 / 480.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1677, allocations: 0 / 480.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1677, allocations: 3.938 kB / 480.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.1681, allocations: 299 kB / 480.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.1681, allocations: 96.73 kB / 481 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.1682, allocations: 7.938 kB / 481 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.1683, allocations: 8 kB / 481 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.1683, allocations: 15.86 kB / 481 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.1683, allocations: 4 kB / 481 MB, free: 2.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003499/0.1687, allocations: 399.1 kB / 481.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1687, allocations: 0 / 481.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.169, allocations: 47.91 kB / 481.5 MB, free: 2.531 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 (17): * Single equations (assignments): 17 * 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.00165/0.1707, allocations: 0.6889 MB / 482.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.171, allocations: 134.5 kB / 482.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.171, allocations: 4 kB / 482.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1711, allocations: 75.91 kB / 482.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.1717, allocations: 71.62 kB / 482.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.1726, allocations: 0.6509 MB / 483.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.173, allocations: 0.7983 MB / 483.9 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.661e-05/0.1731, allocations: 49.83 kB / 484 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.1732, allocations: 31.42 kB / 484 MB, free: 312 kB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1732, allocations: 0 / 484 MB, free: 312 kB / 350.1 MB Notification: Performance of Templates: time 0.005965/0.1792, allocations: 3.163 MB / 487.1 MB, free: 13.17 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches