Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 107.5 kB / 17.03 MB, free: 5.664 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.001381/0.001381, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2436/0.2436, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 66.33 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1518, allocations: 57.78 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.00379/0.1557, allocations: 1.943 MB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1569, allocations: 0.6588 MB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.157, allocations: 4 kB / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.1574, allocations: 255.2 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.1577, allocations: 203.3 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.1586, allocations: 450.2 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1588, allocations: 275.3 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.159, allocations: 68.62 kB / 445.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1592, allocations: 135.5 kB / 445.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1593, allocations: 187.4 kB / 446.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.1594, allocations: 8 kB / 446.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1595, allocations: 71.91 kB / 446.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1596, allocations: 91.67 kB / 446.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.1597, allocations: 107.1 kB / 446.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.1599, allocations: 286.9 kB / 446.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.16, allocations: 0 / 446.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.16, allocations: 4 kB / 446.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.16, allocations: 4 kB / 446.7 MB, free: 1.426 MB / 318.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.0006176/0.1606, allocations: 0.6262 MB / 447.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1607, allocations: 15.83 kB / 447.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.1607, allocations: 36.47 kB / 447.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.161, allocations: 294.3 kB / 447.6 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.161, allocations: 4.375 kB / 447.6 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.1611, allocations: 12.38 kB / 447.6 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1613, allocations: 114.5 kB / 447.8 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1613, allocations: 4 kB / 447.8 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1613, allocations: 8 kB / 447.8 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1613, allocations: 0 / 447.8 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1615, allocations: 67.95 kB / 447.8 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.1622, allocations: 476.3 kB / 448.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1624, allocations: 90.48 kB / 448.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.1625, allocations: 44.83 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.1625, allocations: 224 / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1626, allocations: 34.5 kB / 448.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.1626, allocations: 0 / 448.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008902/0.1635, allocations: 371.9 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.1635, allocations: 59.41 kB / 448.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.1642, allocations: 0.521 MB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.1642, allocations: 25.7 kB / 449.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.1644, allocations: 196.3 kB / 449.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.1645, allocations: 63.09 kB / 449.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.1646, allocations: 33.7 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000252/0.1649, allocations: 350.8 kB / 450.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.165, allocations: 51.92 kB / 450.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1651, allocations: 53 kB / 450.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.1654, allocations: 131.6 kB / 450.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.1654, allocations: 7.938 kB / 450.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003833/0.1658, allocations: 185.1 kB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1658, allocations: 4 kB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.1658, allocations: 0 / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.1659, allocations: 4 kB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.1661, allocations: 43.91 kB / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1661, allocations: 0 / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.1661, allocations: 4 kB / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1662, allocations: 8 kB / 450.5 MB, free: 13.32 MB / 334.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.000206/0.1664, allocations: 185.6 kB / 450.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.1664, allocations: 35.53 kB / 450.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.1669, allocations: 236.2 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.167, allocations: 4 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.167, allocations: 0 / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.167, allocations: 0 / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008321/0.1678, allocations: 0.6036 MB / 451.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.1678, allocations: 0 / 451.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1679, allocations: 31.98 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.168, allocations: 4 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.168, allocations: 0 / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.168, allocations: 8 kB / 451.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.168, allocations: 3.938 kB / 451.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.1684, allocations: 298.9 kB / 451.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.1685, allocations: 104.7 kB / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1685, allocations: 4 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.1686, allocations: 8 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.1687, allocations: 15.92 kB / 452.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1687, allocations: 7.984 kB / 452.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000389/0.1691, allocations: 391.1 kB / 452.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1691, allocations: 3.938 kB / 452.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.1694, allocations: 44 kB / 452.5 MB, free: 11.26 MB / 334.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.00196/0.1713, allocations: 0.7031 MB / 453.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.1717, allocations: 127.8 kB / 453.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1717, allocations: 4 kB / 453.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1718, allocations: 71.91 kB / 453.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.1724, allocations: 71.47 kB / 453.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009623/0.1734, allocations: 0.644 MB / 454.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.1738, allocations: 0.8061 MB / 454.9 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1739, allocations: 41.92 kB / 455 MB, free: 8.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.174, allocations: 31.42 kB / 455 MB, free: 8.793 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.174, allocations: 0 / 455 MB, free: 8.793 MB / 334.1 MB Notification: Performance of Templates: time 0.007453/0.1815, allocations: 3.151 MB / 458.1 MB, free: 5.645 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches