Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 98.28 kB / 269.9 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3913/0.3913, allocations: 43.5 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 55.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1501, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.005148/0.1554, allocations: 2.018 MB / 489 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.1583, allocations: 1.05 MB / 490.1 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.1588, allocations: 4 kB / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.1594, allocations: 39.77 kB / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.16, allocations: 131.5 kB / 490.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1614, allocations: 0.5342 MB / 490.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.162, allocations: 263.2 kB / 491 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.1622, allocations: 68.56 kB / 491.1 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.1626, allocations: 123.4 kB / 491.2 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.1629, allocations: 175.4 kB / 491.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.612e-05/0.163, allocations: 8 kB / 491.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1632, allocations: 32 kB / 491.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.1634, allocations: 143.5 kB / 491.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1636, allocations: 158.7 kB / 491.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.164, allocations: 342.7 kB / 492.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.164, allocations: 0 / 492.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.164, allocations: 3.938 kB / 492.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.164, allocations: 4 kB / 492.1 MB, free: 7.465 MB / 378.7 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.001032/0.1651, allocations: 0.7386 MB / 492.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1651, allocations: 8.031 kB / 492.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.1652, allocations: 52.28 kB / 492.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.1658, allocations: 443.9 kB / 493.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1658, allocations: 8.375 kB / 493.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.1658, allocations: 12.12 kB / 493.3 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1661, allocations: 151.1 kB / 493.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1662, allocations: 4 kB / 493.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1662, allocations: 4 kB / 493.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1662, allocations: 4 kB / 493.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.1664, allocations: 95.88 kB / 493.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009671/0.1674, allocations: 0.6799 MB / 494.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1677, allocations: 117.2 kB / 494.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1678, allocations: 49.81 kB / 494.4 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.1678, allocations: 4 kB / 494.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.1679, allocations: 42.5 kB / 494.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1679, allocations: 0 / 494.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00143/0.1693, allocations: 0.5336 MB / 495 MB, free: 4.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.1694, allocations: 85.11 kB / 495.1 MB, free: 4.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/0.1703, allocations: 0.8506 MB / 495.9 MB, free: 3.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1703, allocations: 29.69 kB / 496 MB, free: 3.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.1705, allocations: 252.2 kB / 496.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1706, allocations: 47.27 kB / 496.3 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.1707, allocations: 37.64 kB / 496.3 MB, free: 3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1708, allocations: 370.7 kB / 496.6 MB, free: 2.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.171, allocations: 67.95 kB / 496.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.1712, allocations: 89.8 kB / 496.8 MB, free: 2.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.1716, allocations: 153.6 kB / 497 MB, free: 2.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1716, allocations: 3.938 kB / 497 MB, free: 2.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004511/0.172, allocations: 241.1 kB / 497.2 MB, free: 2.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1721, allocations: 4 kB / 497.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1721, allocations: 80 / 497.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1721, allocations: 4 kB / 497.2 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.1723, allocations: 39.95 kB / 497.2 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1723, allocations: 7.922 kB / 497.2 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1725, allocations: 8 kB / 497.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1725, allocations: 15.98 kB / 497.3 MB, free: 1.988 MB / 378.7 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 (16): * Single equations (assignments): 16 * 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.0002049/0.1727, allocations: 209.7 kB / 497.5 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.1728, allocations: 51.34 kB / 497.5 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.1734, allocations: 285.9 kB / 497.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1734, allocations: 3.938 kB / 497.8 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1734, allocations: 4 kB / 497.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1734, allocations: 0 / 497.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.1745, allocations: 0.7904 MB / 498.6 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1745, allocations: 384 / 498.6 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1747, allocations: 39.91 kB / 498.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1747, allocations: 4 kB / 498.6 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1747, allocations: 4 kB / 498.6 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1747, allocations: 3.938 kB / 498.7 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1748, allocations: 320 / 498.7 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1759, allocations: 1.154 MB / 499.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.1761, allocations: 136.4 kB / 499.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.1761, allocations: 4 kB / 499.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.1763, allocations: 15.98 kB / 500 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.1764, allocations: 15.98 kB / 500 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1764, allocations: 7.984 kB / 500 MB, free: 15.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006366/0.177, allocations: 0.6237 MB / 0.4889 GB, free: 14.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.177, allocations: 0 / 0.4889 GB, free: 14.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004137/0.1774, allocations: 56 kB / 0.4889 GB, free: 14.44 MB / 394.7 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 (16): * Single equations (assignments): 16 * 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.000949/0.1784, allocations: 419.3 kB / 0.4893 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.1788, allocations: 163.8 kB / 0.4895 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1788, allocations: 0 / 0.4895 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.179, allocations: 87.88 kB / 0.4896 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.1797, allocations: 78.14 kB / 0.4896 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.1811, allocations: 1.181 MB / 0.4908 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.1815, allocations: 0.8656 MB / 0.4916 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.1817, allocations: 83.53 kB / 0.4917 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.1817, allocations: 35.42 kB / 0.4918 GB, free: 11.52 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.1818, allocations: 0 / 0.4918 GB, free: 11.52 MB / 394.7 MB Notification: Performance of Templates: time 0.007497/0.1893, allocations: 3.913 MB / 0.4956 GB, free: 7.609 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches