Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, 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.412/1.412, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001047/0.001047, allocations: 100.2 kB / 269.9 MB, free: 8.441 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.388/0.388, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1534, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004249/0.1577, allocations: 2.084 MB / 489.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.1597, allocations: 1.065 MB / 490.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1599, allocations: 7.938 kB / 490.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.1602, allocations: 43.77 kB / 490.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1606, allocations: 139.5 kB / 490.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1618, allocations: 0.5381 MB / 490.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.1623, allocations: 287.1 kB / 491.2 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1625, allocations: 84.48 kB / 491.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.1627, allocations: 127.4 kB / 491.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.163, allocations: 191.3 kB / 491.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.1631, allocations: 8 kB / 491.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1632, allocations: 43.92 kB / 491.6 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.1634, allocations: 143.5 kB / 491.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.1636, allocations: 154.7 kB / 491.9 MB, free: 7.637 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.164, allocations: 366.5 kB / 492.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.164, allocations: 0 / 492.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.164, allocations: 3.938 kB / 492.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.164, allocations: 0 / 492.3 MB, free: 7.273 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.001237/0.1653, allocations: 0.777 MB / 493 MB, free: 6.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.1653, allocations: 8.031 kB / 493 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1654, allocations: 60.17 kB / 493.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.1661, allocations: 447.9 kB / 493.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1661, allocations: 12.38 kB / 493.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.1661, allocations: 16.03 kB / 493.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.1665, allocations: 163.1 kB / 493.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1665, allocations: 4 kB / 493.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1665, allocations: 4 kB / 493.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1666, allocations: 4 kB / 493.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.1669, allocations: 111.9 kB / 493.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.168, allocations: 0.7074 MB / 494.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.1683, allocations: 141.2 kB / 494.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1685, allocations: 65.8 kB / 494.8 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.1685, allocations: 4 kB / 494.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1686, allocations: 38.55 kB / 494.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.1686, allocations: 0 / 494.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002055/0.1706, allocations: 0.7399 MB / 495.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.1707, allocations: 77.11 kB / 495.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009321/0.1716, allocations: 0.8545 MB / 496.5 MB, free: 2.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1717, allocations: 29.7 kB / 496.5 MB, free: 2.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1719, allocations: 252.3 kB / 496.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.261e-05/0.1719, allocations: 67 kB / 496.8 MB, free: 2.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.172, allocations: 41.7 kB / 496.8 MB, free: 2.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1722, allocations: 378.7 kB / 497.2 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.1725, allocations: 107.9 kB / 497.3 MB, free: 1.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.1728, allocations: 125.6 kB / 497.4 MB, free: 1.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.1733, allocations: 257.6 kB / 497.7 MB, free: 1.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1733, allocations: 0 / 497.7 MB, free: 1.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006787/0.174, allocations: 336.8 kB / 498 MB, free: 1.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.174, allocations: 4 kB / 498 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.174, allocations: 0 / 498 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1741, allocations: 4 kB / 498 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.1744, allocations: 51.89 kB / 498.1 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.1744, allocations: 4 kB / 498.1 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1745, allocations: 27.97 kB / 498.1 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.1746, allocations: 4.75 kB / 498.1 MB, free: 1.133 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 (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.0002004/0.1748, allocations: 221.7 kB / 498.3 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.1749, allocations: 51.34 kB / 498.4 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.1757, allocations: 413.8 kB / 498.8 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1757, allocations: 4 kB / 498.8 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1758, allocations: 0 / 498.8 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1758, allocations: 0 / 498.8 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.1772, allocations: 0.9386 MB / 499.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1772, allocations: 0 / 499.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.1774, allocations: 51.95 kB / 499.8 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1775, allocations: 0 / 499.8 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.1775, allocations: 11.98 kB / 499.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.1775, allocations: 7.938 kB / 499.8 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1775, allocations: 0 / 499.8 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.1789, allocations: 1.315 MB / 0.4894 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.1791, allocations: 136.4 kB / 0.4895 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.1792, allocations: 0 / 0.4895 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.1794, allocations: 23.97 kB / 0.4895 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.1795, allocations: 19.97 kB / 0.4895 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1795, allocations: 8 kB / 0.4896 GB, free: 13.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006701/0.1802, allocations: 0.6237 MB / 0.4902 GB, free: 13.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1802, allocations: 0 / 0.4902 GB, free: 13.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004426/0.1807, allocations: 60 kB / 0.4902 GB, free: 13.11 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 (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.0009595/0.1816, allocations: 417.3 kB / 0.4906 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006471/0.1823, allocations: 259.8 kB / 0.4909 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1823, allocations: 4 kB / 0.4909 GB, free: 12.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.1826, allocations: 140.4 kB / 0.491 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.1833, allocations: 74.2 kB / 0.4911 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.1849, allocations: 1.287 MB / 0.4923 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1853, allocations: 0.8851 MB / 0.4932 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.1855, allocations: 102.9 kB / 0.4933 GB, free: 9.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.1857, allocations: 39.42 kB / 0.4933 GB, free: 9.902 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1857, allocations: 0 / 0.4933 GB, free: 9.902 MB / 394.7 MB Notification: Performance of Templates: time 0.008163/0.1938, allocations: 4.22 MB / 0.4975 GB, free: 5.68 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches