Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.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.00126/0.00126, allocations: 120.8 kB / 19.18 MB, free: 3.887 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.00137/0.00137, allocations: 202.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.516/1.516, allocations: 230.3 MB / 255.2 MB, free: 15.18 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.252/0.252, allocations: 46.92 MB / 358.2 MB, free: 10.4 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21") [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.002335/0.002335, allocations: 83.88 kB / 0.4925 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1449, allocations: 66.01 MB / 0.557 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004171/0.1491, allocations: 2.04 MB / 0.559 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1513, allocations: 1.04 MB / 0.56 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1514, allocations: 7.938 kB / 0.56 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.1519, allocations: 251.2 kB / 0.5602 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005756/0.1525, allocations: 263 kB / 0.5605 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.1537, allocations: 489.3 kB / 0.5609 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.1542, allocations: 334.8 kB / 0.5613 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1544, allocations: 56.69 kB / 0.5613 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1546, allocations: 147.4 kB / 0.5615 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.1549, allocations: 227.2 kB / 0.5617 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.1549, allocations: 15.94 kB / 0.5617 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.1551, allocations: 99.95 kB / 0.5618 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1553, allocations: 91.67 kB / 0.5619 GB, free: 476 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1554, allocations: 126.9 kB / 0.562 GB, free: 348 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.1559, allocations: 334.3 kB / 0.5623 GB, free: 12 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1559, allocations: 4 kB / 0.5623 GB, free: 8 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1559, allocations: 0 / 0.5623 GB, free: 8 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1559, allocations: 4 kB / 0.5623 GB, free: 4 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009096/0.1568, allocations: 0.6685 MB / 0.563 GB, free: 15.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1568, allocations: 13.11 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.1569, allocations: 40.66 kB / 0.563 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.1573, allocations: 326.5 kB / 0.5633 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1573, allocations: 12.31 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.1573, allocations: 4.375 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1576, allocations: 110.1 kB / 0.5635 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1577, allocations: 4.188 kB / 0.5635 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1577, allocations: 7.938 kB / 0.5635 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1577, allocations: 4 kB / 0.5635 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.1579, allocations: 71.95 kB / 0.5635 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007109/0.1586, allocations: 480.5 kB / 0.564 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1588, allocations: 90.47 kB / 0.5641 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/0.1588, allocations: 40.78 kB / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.1589, allocations: 4 kB / 0.5641 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1589, allocations: 30.56 kB / 0.5642 GB, free: 13.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1589, allocations: 0 / 0.5642 GB, free: 13.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001018/0.1599, allocations: 398.6 kB / 0.5645 GB, free: 13.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.16, allocations: 59.41 kB / 0.5646 GB, free: 13.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00067/0.1606, allocations: 0.5565 MB / 0.5651 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1607, allocations: 33.64 kB / 0.5652 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1608, allocations: 200.4 kB / 0.5654 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.1609, allocations: 67.41 kB / 0.5654 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.161, allocations: 29.72 kB / 0.5655 GB, free: 12.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002572/0.1612, allocations: 358.8 kB / 0.5658 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1614, allocations: 51.89 kB / 0.5659 GB, free: 12.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1615, allocations: 51.97 kB / 0.5659 GB, free: 12.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.1617, allocations: 122.7 kB / 0.566 GB, free: 12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1617, allocations: 0 / 0.566 GB, free: 12 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003823/0.1621, allocations: 197.2 kB / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1621, allocations: 5.875 kB / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1621, allocations: 0 / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1622, allocations: 4 kB / 0.5662 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1623, allocations: 39.91 kB / 0.5663 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1623, allocations: 0 / 0.5663 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.1624, allocations: 8 kB / 0.5663 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1624, allocations: 7.984 kB / 0.5663 GB, free: 11.74 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * 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.0001846/0.1626, allocations: 173.8 kB / 0.5664 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.1627, allocations: 47.66 kB / 0.5665 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.1632, allocations: 245.4 kB / 0.5667 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1632, allocations: 0 / 0.5667 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1632, allocations: 0 / 0.5667 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1632, allocations: 3.984 kB / 0.5667 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/0.1641, allocations: 0.6253 MB / 0.5673 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1641, allocations: 0 / 0.5673 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1642, allocations: 31.92 kB / 0.5674 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1642, allocations: 8 kB / 0.5674 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1642, allocations: 7.984 kB / 0.5674 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1642, allocations: 4 kB / 0.5674 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1642, allocations: 0 / 0.5674 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.1647, allocations: 299.1 kB / 0.5677 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.1648, allocations: 108.9 kB / 0.5678 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1649, allocations: 4 kB / 0.5678 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.165, allocations: 15.98 kB / 0.5678 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.165, allocations: 7.984 kB / 0.5678 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.165, allocations: 7.938 kB / 0.5678 GB, free: 10.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005174/0.1655, allocations: 419.1 kB / 0.5682 GB, free: 9.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1655, allocations: 0 / 0.5682 GB, free: 9.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1658, allocations: 51.92 kB / 0.5682 GB, free: 9.598 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * 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.002765/0.1686, allocations: 0.6918 MB / 0.5689 GB, free: 9.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004167/0.169, allocations: 132.9 kB / 0.5691 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.169, allocations: 0 / 0.5691 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1692, allocations: 67.91 kB / 0.5691 GB, free: 8.984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.1697, allocations: 84.98 kB / 0.5692 GB, free: 8.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1709, allocations: 0.7104 MB / 0.5699 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.1714, allocations: 0.8026 MB / 0.5707 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.426e-05/0.1715, allocations: 35.42 kB / 0.5707 GB, free: 7.305 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1715, allocations: 4 kB / 0.5707 GB, free: 7.301 MB / 430.1 MB Notification: Performance of Templates: time 0.007835/0.1793, allocations: 4.533 MB / 0.5751 GB, free: 2.766 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.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.225882577011362]