Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2451/0.2451, allocations: 46.89 MB / 358.1 MB, free: 10.53 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 87.86 kB / 0.4924 GB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1554, allocations: 65.99 MB / 0.5568 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003537/0.159, allocations: 2.027 MB / 0.5588 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.1612, allocations: 1.258 MB / 0.56 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1613, allocations: 4 kB / 0.56 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1616, allocations: 51.56 kB / 0.5601 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.1621, allocations: 211.1 kB / 0.5603 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009503/0.163, allocations: 437.2 kB / 0.5607 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.1634, allocations: 295.2 kB / 0.561 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1635, allocations: 56.69 kB / 0.561 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.1638, allocations: 135.5 kB / 0.5612 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1641, allocations: 199.2 kB / 0.5614 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.1641, allocations: 15.94 kB / 0.5614 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1642, allocations: 63.98 kB / 0.5614 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.1644, allocations: 135.6 kB / 0.5616 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.1646, allocations: 174.6 kB / 0.5617 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.1651, allocations: 382 kB / 0.5621 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1651, allocations: 7.938 kB / 0.5621 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1651, allocations: 0 / 0.5621 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1651, allocations: 0 / 0.5621 GB, free: 0.5078 MB / 414.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.001056/0.1661, allocations: 0.7888 MB / 0.5629 GB, free: 15.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1662, allocations: 9.109 kB / 0.5629 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.1665, allocations: 76.55 kB / 0.563 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/0.1671, allocations: 456.3 kB / 0.5634 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1671, allocations: 12.38 kB / 0.5634 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1672, allocations: 12.38 kB / 0.5634 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.1674, allocations: 131.5 kB / 0.5635 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1675, allocations: 4 kB / 0.5635 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1675, allocations: 4 kB / 0.5635 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1675, allocations: 3.984 kB / 0.5635 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.1677, allocations: 75.95 kB / 0.5636 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009654/0.1687, allocations: 0.6722 MB / 0.5643 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1689, allocations: 101.2 kB / 0.5644 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.169, allocations: 41.83 kB / 0.5644 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.169, allocations: 4 kB / 0.5644 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.169, allocations: 42.5 kB / 0.5645 GB, free: 13.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.169, allocations: 0 / 0.5645 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001433/0.1705, allocations: 0.5306 MB / 0.565 GB, free: 13.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.1705, allocations: 81.11 kB / 0.5651 GB, free: 13.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.1716, allocations: 0.8945 MB / 0.5659 GB, free: 12.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1716, allocations: 25.7 kB / 0.566 GB, free: 12.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.1718, allocations: 252.4 kB / 0.5662 GB, free: 12.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/0.1719, allocations: 63.5 kB / 0.5663 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.172, allocations: 37.7 kB / 0.5663 GB, free: 11.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1722, allocations: 366.8 kB / 0.5666 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.1723, allocations: 51.97 kB / 0.5667 GB, free: 11.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.1725, allocations: 73.67 kB / 0.5668 GB, free: 11.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.1729, allocations: 137.6 kB / 0.5669 GB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1729, allocations: 0 / 0.5669 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004953/0.1734, allocations: 229.2 kB / 0.5671 GB, free: 11.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1734, allocations: 4 kB / 0.5671 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1734, allocations: 4 kB / 0.5671 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1734, allocations: 0 / 0.5671 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.1736, allocations: 47.89 kB / 0.5672 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.1736, allocations: 3.938 kB / 0.5672 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1737, allocations: 11.98 kB / 0.5672 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1738, allocations: 8.312 kB / 0.5672 GB, free: 11.03 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 (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.0002398/0.174, allocations: 213.7 kB / 0.5674 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1741, allocations: 59.58 kB / 0.5674 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006067/0.1747, allocations: 267.2 kB / 0.5677 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.1747, allocations: 4 kB / 0.5677 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1747, allocations: 3.938 kB / 0.5677 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1747, allocations: 3.984 kB / 0.5677 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1759, allocations: 0.7747 MB / 0.5685 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1759, allocations: 0 / 0.5685 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.176, allocations: 35.97 kB / 0.5685 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1761, allocations: 4 kB / 0.5685 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1761, allocations: 4 kB / 0.5685 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1761, allocations: 0 / 0.5685 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1761, allocations: 4 kB / 0.5685 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.1766, allocations: 407.6 kB / 0.5689 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.1768, allocations: 136.8 kB / 0.569 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.1768, allocations: 4 kB / 0.569 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.177, allocations: 11.98 kB / 0.569 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1771, allocations: 19.91 kB / 0.5691 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1771, allocations: 8 kB / 0.5691 GB, free: 8.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000754/0.1778, allocations: 0.6513 MB / 0.5697 GB, free: 8.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1778, allocations: 0 / 0.5697 GB, free: 8.332 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.1782, allocations: 63.94 kB / 0.5698 GB, free: 8.27 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 (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.001493/0.1797, allocations: 403.3 kB / 0.5702 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.1801, allocations: 143.8 kB / 0.5703 GB, free: 7.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1801, allocations: 0 / 0.5703 GB, free: 7.871 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.1803, allocations: 75.89 kB / 0.5704 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.1809, allocations: 76.11 kB / 0.5704 GB, free: 7.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1824, allocations: 0.9241 MB / 0.5713 GB, free: 6.762 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.1829, allocations: 0.8536 MB / 0.5722 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.183, allocations: 43.42 kB / 0.5722 GB, free: 5.844 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.183, allocations: 0 / 0.5722 GB, free: 5.844 MB / 430.1 MB Notification: Performance of Templates: time 0.009218/0.1922, allocations: 5.622 MB / 0.5777 GB, free: 228 kB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.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: 8.37933477689512]