Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 105.4 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.001648/0.001649, allocations: 188 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.558/1.558, allocations: 222.9 MB / 243 MB, free: 15.15 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.2652/0.2652, allocations: 44.18 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 57.64 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.147, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004831/0.1519, allocations: 2.03 MB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1538, allocations: 1.052 MB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.154, allocations: 4 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.1542, allocations: 43.58 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.1547, allocations: 151.3 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1558, allocations: 434.5 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006582/0.1565, allocations: 283.1 kB / 474.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.1567, allocations: 56.72 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.1571, allocations: 135.4 kB / 474.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.1575, allocations: 183.3 kB / 475.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.1576, allocations: 16 kB / 475.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.1578, allocations: 59.97 kB / 475.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.158, allocations: 139.6 kB / 475.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.1583, allocations: 166.6 kB / 475.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.1587, allocations: 386.5 kB / 475.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1588, allocations: 4 kB / 475.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1588, allocations: 0 / 475.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1588, allocations: 0 / 475.8 MB, free: 8.555 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001152/0.1599, allocations: 0.7542 MB / 476.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.16, allocations: 11.97 kB / 476.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.1601, allocations: 56.27 kB / 476.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.1607, allocations: 451.7 kB / 477.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1608, allocations: 8.375 kB / 477.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.1608, allocations: 16.12 kB / 477.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.1612, allocations: 146.9 kB / 477.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1612, allocations: 0 / 477.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.1612, allocations: 8 kB / 477.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1612, allocations: 0 / 477.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.1616, allocations: 99.92 kB / 477.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.1626, allocations: 0.6644 MB / 478 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1629, allocations: 125.2 kB / 478.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.163, allocations: 61.8 kB / 478.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.163, allocations: 4 kB / 478.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1631, allocations: 30.56 kB / 478.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.1631, allocations: 4 kB / 478.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001966/0.1651, allocations: 0.6739 MB / 478.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1651, allocations: 85.11 kB / 479 MB, free: 5.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/0.166, allocations: 0.8388 MB / 479.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.166, allocations: 25.7 kB / 479.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.1663, allocations: 252.3 kB / 480.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.1663, allocations: 63.09 kB / 480.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.1664, allocations: 41.7 kB / 480.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1666, allocations: 378.7 kB / 480.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.1668, allocations: 87.88 kB / 480.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.1671, allocations: 113.6 kB / 480.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.1676, allocations: 205.7 kB / 481 MB, free: 3.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1676, allocations: 0 / 481 MB, free: 3.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006236/0.1682, allocations: 296.8 kB / 481.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.1683, allocations: 8 kB / 481.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1683, allocations: 0 / 481.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1683, allocations: 0 / 481.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.1687, allocations: 55.89 kB / 481.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1687, allocations: 0 / 481.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.1689, allocations: 31.88 kB / 481.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.1689, allocations: 4 kB / 481.4 MB, free: 2.738 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002009/0.1691, allocations: 209.7 kB / 481.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1692, allocations: 55.34 kB / 481.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/0.17, allocations: 342.1 kB / 481.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.17, allocations: 96 / 482 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.17, allocations: 4.5 kB / 482 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.17, allocations: 7.984 kB / 482 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.1713, allocations: 0.8798 MB / 482.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1713, allocations: 0 / 482.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.1716, allocations: 55.95 kB / 482.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1716, allocations: 0 / 482.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.1716, allocations: 11.98 kB / 482.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.1716, allocations: 3.938 kB / 482.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1716, allocations: 7.938 kB / 482.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.1724, allocations: 473.9 kB / 483.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.1726, allocations: 136.5 kB / 483.5 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.1727, allocations: 4 kB / 483.5 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1729, allocations: 23.91 kB / 483.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.173, allocations: 15.98 kB / 483.6 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.173, allocations: 7.984 kB / 483.6 MB, free: 428 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006284/0.1736, allocations: 0.6198 MB / 484.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1736, allocations: 0 / 484.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.174, allocations: 67.89 kB / 484.3 MB, free: 15.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0009311/0.1749, allocations: 401 kB / 484.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007968/0.1757, allocations: 222.2 kB / 484.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1758, allocations: 8 kB / 484.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.176, allocations: 123.8 kB / 485 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.1766, allocations: 73.91 kB / 485.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.1781, allocations: 0.9008 MB / 486 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.1785, allocations: 0.8575 MB / 486.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.1787, allocations: 78.91 kB / 486.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1788, allocations: 43.36 kB / 486.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1788, allocations: 0 / 486.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.008202/0.1871, allocations: 4.268 MB / 491.2 MB, free: 8.902 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches