Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.593/1.593, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2458/0.2458, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.91 kB / 0.4914 GB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1576, allocations: 65.99 MB / 0.5559 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004068/0.1617, allocations: 2.129 MB / 0.5579 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.1642, allocations: 1.403 MB / 0.5593 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1644, allocations: 7.938 kB / 0.5593 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1647, allocations: 59.44 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005552/0.1652, allocations: 219 kB / 0.5596 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.1667, allocations: 0.6185 MB / 0.5602 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.1673, allocations: 351 kB / 0.5605 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.1674, allocations: 68.64 kB / 0.5606 GB, free: 452 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.1677, allocations: 151.4 kB / 0.5607 GB, free: 300 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.168, allocations: 219.1 kB / 0.5609 GB, free: 80 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.1681, allocations: 16 kB / 0.561 GB, free: 64 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1683, allocations: 68.03 kB / 0.561 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.1684, allocations: 151.4 kB / 0.5612 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1686, allocations: 182.4 kB / 0.5613 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.1692, allocations: 421.9 kB / 0.5617 GB, free: 15.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1692, allocations: 8 kB / 0.5617 GB, free: 15.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1692, allocations: 0 / 0.5617 GB, free: 15.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1692, allocations: 0 / 0.5617 GB, free: 15.25 MB / 430.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.001276/0.1705, allocations: 0.8277 MB / 0.5626 GB, free: 14.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1705, allocations: 8.031 kB / 0.5626 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.171, allocations: 100.4 kB / 0.5627 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/0.1718, allocations: 489.1 kB / 0.5631 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1718, allocations: 4.375 kB / 0.5631 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.1719, allocations: 20.08 kB / 0.5631 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.1723, allocations: 159.2 kB / 0.5633 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.1723, allocations: 4 kB / 0.5633 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.1723, allocations: 8 kB / 0.5633 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1723, allocations: 7.984 kB / 0.5633 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.1727, allocations: 119.8 kB / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1739, allocations: 0.7074 MB / 0.5641 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.1742, allocations: 133.2 kB / 0.5643 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.1744, allocations: 61.8 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.1744, allocations: 4 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1745, allocations: 38.56 kB / 0.5644 GB, free: 12.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1745, allocations: 0 / 0.5644 GB, free: 12.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.002317/0.1768, allocations: 0.7684 MB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.1768, allocations: 81.11 kB / 0.5652 GB, free: 11.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1779, allocations: 0.8986 MB / 0.5661 GB, free: 10.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.178, allocations: 33.69 kB / 0.5661 GB, free: 10.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.1782, allocations: 272.4 kB / 0.5663 GB, free: 10.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.529e-05/0.1783, allocations: 67.42 kB / 0.5664 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-05/0.1784, allocations: 37.7 kB / 0.5664 GB, free: 10.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.1786, allocations: 378.7 kB / 0.5668 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.1789, allocations: 111.9 kB / 0.5669 GB, free: 9.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.1792, allocations: 134.9 kB / 0.567 GB, free: 9.555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.1799, allocations: 249.5 kB / 0.5673 GB, free: 9.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1799, allocations: 0 / 0.5673 GB, free: 9.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000818/0.1807, allocations: 341.2 kB / 0.5676 GB, free: 8.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1807, allocations: 8 kB / 0.5676 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1807, allocations: 0 / 0.5676 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1807, allocations: 224 / 0.5676 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.181, allocations: 63.89 kB / 0.5677 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.181, allocations: 7.922 kB / 0.5677 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1812, allocations: 15.98 kB / 0.5677 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1812, allocations: 15.98 kB / 0.5677 GB, free: 8.855 MB / 430.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.0003046/0.1815, allocations: 219.9 kB / 0.5679 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.1817, allocations: 59.58 kB / 0.568 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009718/0.1826, allocations: 403 kB / 0.5684 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1826, allocations: 0 / 0.5684 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1826, allocations: 4 kB / 0.5684 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.1827, allocations: 3.984 kB / 0.5684 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.1843, allocations: 0.9546 MB / 0.5693 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1843, allocations: 0 / 0.5693 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.1847, allocations: 55.95 kB / 0.5694 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1847, allocations: 0 / 0.5694 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.1847, allocations: 11.98 kB / 0.5694 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1847, allocations: 4.031 kB / 0.5694 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1847, allocations: 3.938 kB / 0.5694 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.1857, allocations: 0.5138 MB / 0.5699 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.1859, allocations: 140.7 kB / 0.57 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.1859, allocations: 8 kB / 0.57 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.1862, allocations: 19.91 kB / 0.57 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.1862, allocations: 19.98 kB / 0.5701 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.1863, allocations: 11.98 kB / 0.5701 GB, free: 6.332 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008288/0.1871, allocations: 0.6591 MB / 0.5707 GB, free: 5.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1871, allocations: 4 kB / 0.5707 GB, free: 5.676 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000424/0.1875, allocations: 67.94 kB / 0.5708 GB, free: 5.609 MB / 430.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.001581/0.1891, allocations: 406.7 kB / 0.5712 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.1899, allocations: 257.5 kB / 0.5714 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1899, allocations: 0 / 0.5714 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.1903, allocations: 135.8 kB / 0.5715 GB, free: 4.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/0.1909, allocations: 85.58 kB / 0.5716 GB, free: 4.898 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1928, allocations: 1.016 MB / 0.5726 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/0.1936, allocations: 0.8887 MB / 0.5735 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.1939, allocations: 99.19 kB / 0.5736 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.194, allocations: 47.41 kB / 0.5736 GB, free: 2.785 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.194, allocations: 0 / 0.5736 GB, free: 2.785 MB / 430.1 MB Notification: Performance of Templates: time 0.01149/0.2055, allocations: 4.55 MB / 0.5781 GB, free: 14.25 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.559859588742256]