Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001668/0.001668, 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.002007/0.002007, 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.495/1.495, 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.246/0.246, allocations: 46.89 MB / 358.1 MB, free: 10.52 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.Test20") [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.002251/0.002251, allocations: 79.86 kB / 0.4924 GB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.141, allocations: 65.99 MB / 0.5568 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003894/0.1449, allocations: 2.054 MB / 0.5588 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1468, allocations: 1.02 MB / 0.5598 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1469, allocations: 8 kB / 0.5598 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.1474, allocations: 251.2 kB / 0.5601 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.148, allocations: 270.9 kB / 0.5603 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1491, allocations: 489 kB / 0.5608 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.1495, allocations: 330.9 kB / 0.5611 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.1497, allocations: 52.7 kB / 0.5612 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.1498, allocations: 143.4 kB / 0.5613 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1501, allocations: 223.2 kB / 0.5615 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.1502, allocations: 16 kB / 0.5615 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1503, allocations: 75.95 kB / 0.5616 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1505, allocations: 95.61 kB / 0.5617 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1506, allocations: 111 kB / 0.5618 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.151, allocations: 318.3 kB / 0.5621 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.151, allocations: 4 kB / 0.5621 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.151, allocations: 3.984 kB / 0.5621 GB, free: 0.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.151, allocations: 0 / 0.5621 GB, free: 0.625 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008645/0.1519, allocations: 0.6609 MB / 0.5627 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1519, allocations: 13.11 kB / 0.5628 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.152, allocations: 44.66 kB / 0.5628 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1524, allocations: 322.5 kB / 0.5631 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1524, allocations: 8.375 kB / 0.5631 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1524, allocations: 12.38 kB / 0.5631 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.1527, allocations: 106.1 kB / 0.5632 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1527, allocations: 7.922 kB / 0.5632 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1527, allocations: 8 kB / 0.5632 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1527, allocations: 0 / 0.5632 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.1529, allocations: 75.89 kB / 0.5633 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.1537, allocations: 488.4 kB / 0.5638 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1538, allocations: 86.55 kB / 0.5639 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.1539, allocations: 32.78 kB / 0.5639 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1539, allocations: 4 kB / 0.5639 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.154, allocations: 34.56 kB / 0.5639 GB, free: 14.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.154, allocations: 0 / 0.5639 GB, free: 14.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009737/0.1549, allocations: 404.9 kB / 0.5643 GB, free: 14.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.155, allocations: 51.41 kB / 0.5644 GB, free: 14.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.1557, allocations: 0.5565 MB / 0.5649 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1557, allocations: 33.7 kB / 0.5649 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1558, allocations: 208.4 kB / 0.5651 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.1559, allocations: 59.47 kB / 0.5652 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.156, allocations: 37.7 kB / 0.5652 GB, free: 13.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1562, allocations: 354.7 kB / 0.5656 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1563, allocations: 51.88 kB / 0.5656 GB, free: 12.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1564, allocations: 53.69 kB / 0.5657 GB, free: 12.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.1567, allocations: 131 kB / 0.5658 GB, free: 12.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1567, allocations: 0 / 0.5658 GB, free: 12.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003721/0.157, allocations: 201.2 kB / 0.566 GB, free: 12.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.157, allocations: 4 kB / 0.566 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.157, allocations: 3.984 kB / 0.566 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1571, allocations: 4 kB / 0.566 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1572, allocations: 35.92 kB / 0.566 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.1572, allocations: 7.938 kB / 0.566 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.1573, allocations: 11.98 kB / 0.5661 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1573, allocations: 8 kB / 0.5661 GB, free: 12.34 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.000185/0.1575, allocations: 165.8 kB / 0.5662 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.1576, allocations: 47.66 kB / 0.5663 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.1581, allocations: 247.4 kB / 0.5665 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1581, allocations: 0 / 0.5665 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1581, allocations: 4 kB / 0.5665 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1581, allocations: 0 / 0.5665 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008607/0.1589, allocations: 0.6193 MB / 0.5671 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1589, allocations: 0 / 0.5671 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1591, allocations: 39.97 kB / 0.5671 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1591, allocations: 0 / 0.5671 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1591, allocations: 0 / 0.5671 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1591, allocations: 4 kB / 0.5672 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1591, allocations: 4 kB / 0.5672 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.1595, allocations: 301.1 kB / 0.5674 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.1596, allocations: 108.8 kB / 0.5675 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.1597, allocations: 7.984 kB / 0.5676 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.1597, allocations: 8 kB / 0.5676 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.1598, allocations: 11.92 kB / 0.5676 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1598, allocations: 12 kB / 0.5676 GB, free: 10.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004737/0.1603, allocations: 419.1 kB / 0.568 GB, free: 10.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1603, allocations: 4 kB / 0.568 GB, free: 10.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1606, allocations: 43.94 kB / 0.568 GB, free: 10.21 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.00271/0.1633, allocations: 0.6867 MB / 0.5687 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.1637, allocations: 135.8 kB / 0.5688 GB, free: 9.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1637, allocations: 0 / 0.5688 GB, free: 9.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1638, allocations: 67.91 kB / 0.5689 GB, free: 9.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.1644, allocations: 79.61 kB / 0.569 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1656, allocations: 0.7065 MB / 0.5697 GB, free: 8.805 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.166, allocations: 0.8026 MB / 0.5704 GB, free: 7.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.1661, allocations: 35.42 kB / 0.5705 GB, free: 7.945 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1661, allocations: 0 / 0.5705 GB, free: 7.945 MB / 430.1 MB Notification: Performance of Templates: time 0.007601/0.1737, allocations: 4.542 MB / 0.5749 GB, free: 3.406 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.51299026212655]