Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 94.42 kB / 16.98 MB, free: 5.934 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.001095/0.001095, allocations: 186.5 kB / 17.88 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.372/1.372, allocations: 223.2 MB / 241.8 MB, free: 380 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.2252/0.2252, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 8 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 61.91 MB / 471.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003607/0.146, allocations: 1.625 MB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.1482, allocations: 0.7917 MB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.1483, allocations: 4 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.149, allocations: 239.4 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.1494, allocations: 171.6 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.1512, allocations: 0.5976 MB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.1517, allocations: 207.5 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.1519, allocations: 60.56 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.1521, allocations: 107.6 kB / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.1524, allocations: 139.4 kB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.1525, allocations: 4 kB / 475.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.1527, allocations: 43.92 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1528, allocations: 87.72 kB / 475.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.055e-05/0.1529, allocations: 65.52 kB / 475.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.1533, allocations: 235.5 kB / 475.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1533, allocations: 0 / 475.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1533, allocations: 4 kB / 475.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1533, allocations: 0 / 475.8 MB, free: 9.422 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.0008844/0.1542, allocations: 0.599 MB / 476.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1543, allocations: 12.03 kB / 476.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.1543, allocations: 39.52 kB / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.1548, allocations: 313.2 kB / 476.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1548, allocations: 12 kB / 476.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1548, allocations: 11.95 kB / 476.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1551, allocations: 125.5 kB / 476.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1551, allocations: 0 / 476.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.1551, allocations: 8 kB / 476.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.1552, allocations: 3.938 kB / 476.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.1554, allocations: 99.92 kB / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.1563, allocations: 0.512 MB / 477.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1565, allocations: 114.5 kB / 477.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1566, allocations: 0 / 477.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.1567, allocations: 42.55 kB / 477.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1567, allocations: 0 / 477.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001225/0.1579, allocations: 451.9 kB / 478.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.158, allocations: 55.41 kB / 478.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.1586, allocations: 0.5526 MB / 478.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1586, allocations: 25.7 kB / 478.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1588, allocations: 212.3 kB / 479 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.1588, allocations: 51.2 kB / 479 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.1588, allocations: 7.938 kB / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.159, allocations: 354.8 kB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1591, allocations: 67.95 kB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1593, allocations: 71.95 kB / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1594, allocations: 82.22 kB / 479.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1594, allocations: 0 / 479.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003723/0.1598, allocations: 229.1 kB / 479.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1598, allocations: 7.953 kB / 479.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1598, allocations: 4 kB / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1599, allocations: 3.984 kB / 479.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.16, allocations: 39.92 kB / 479.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.16, allocations: 0 / 479.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.1601, allocations: 12 kB / 479.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1601, allocations: 7.984 kB / 479.9 MB, free: 5.129 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.1603, allocations: 174.3 kB / 480 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.1604, allocations: 39.52 kB / 480.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006127/0.161, allocations: 299.3 kB / 480.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.161, allocations: 4 kB / 480.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.161, allocations: 0 / 480.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.1611, allocations: 3.984 kB / 480.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1622, allocations: 0.6817 MB / 481.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1622, allocations: 4 kB / 481.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1624, allocations: 31.98 kB / 481.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1624, allocations: 4 kB / 481.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1625, allocations: 7.984 kB / 481.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1625, allocations: 3.938 kB / 481.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1625, allocations: 0 / 481.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.1631, allocations: 348.5 kB / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1632, allocations: 128.5 kB / 481.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.1633, allocations: 4 kB / 481.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1634, allocations: 8 kB / 481.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.1635, allocations: 11.97 kB / 481.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1635, allocations: 12 kB / 481.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005948/0.1641, allocations: 411.1 kB / 482 MB, free: 2.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1641, allocations: 0 / 482 MB, free: 2.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.1646, allocations: 47.98 kB / 482.1 MB, free: 2.832 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 (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.002196/0.1668, allocations: 0.7018 MB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.1673, allocations: 163.9 kB / 482.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1673, allocations: 0 / 482.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.1675, allocations: 99.8 kB / 483 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.1682, allocations: 65.45 kB / 483.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1697, allocations: 0.747 MB / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.1701, allocations: 0.8379 MB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.1703, allocations: 62.22 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.1704, allocations: 23.44 kB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1704, allocations: 0 / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of Templates: time 0.009847/0.1803, allocations: 3.252 MB / 488 MB, free: 13.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches