Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001582/0.001582, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001729/0.001729, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.654/1.654, 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.265/0.265, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.91 kB / 0.4914 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1557, allocations: 66 MB / 0.5559 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.004745/0.1605, allocations: 1.601 MB / 0.5574 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.1628, allocations: 1.175 MB / 0.5586 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.1629, allocations: 0 / 0.5586 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1632, allocations: 19.86 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.1635, allocations: 87.61 kB / 0.5587 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.1638, allocations: 87.7 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1641, allocations: 71.77 kB / 0.5588 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1642, allocations: 11.98 kB / 0.5588 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.1643, allocations: 23.92 kB / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.1646, allocations: 37.81 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1646, allocations: 0 / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1649, allocations: 107.9 kB / 0.559 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.125e-05/0.1649, allocations: 15.92 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.165, allocations: 23.81 kB / 0.559 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.1653, allocations: 139.5 kB / 0.5592 GB, free: 1.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.1653, allocations: 0 / 0.5592 GB, free: 1.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1653, allocations: 0 / 0.5592 GB, free: 1.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1653, allocations: 0 / 0.5592 GB, free: 1.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007778/0.1661, allocations: 406.7 kB / 0.5596 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.1662, allocations: 12.03 kB / 0.5596 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.1662, allocations: 8.891 kB / 0.5596 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.1665, allocations: 196.2 kB / 0.5598 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1665, allocations: 4.375 kB / 0.5598 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1666, allocations: 4.375 kB / 0.5598 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1667, allocations: 67.52 kB / 0.5599 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1668, allocations: 3.938 kB / 0.5599 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1668, allocations: 0 / 0.5599 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1668, allocations: 3.938 kB / 0.5599 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.1669, allocations: 19.98 kB / 0.5599 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1673, allocations: 284.9 kB / 0.5601 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1675, allocations: 38.56 kB / 0.5602 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.1676, allocations: 16.8 kB / 0.5602 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1676, allocations: 0 / 0.5602 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1676, allocations: 34.56 kB / 0.5602 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 3.065e-06/0.1676, allocations: 7.984 kB / 0.5602 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006001/0.1682, allocations: 141.5 kB / 0.5604 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.1683, allocations: 77.11 kB / 0.5605 GB, free: 448 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1685, allocations: 143.7 kB / 0.5606 GB, free: 296 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1685, allocations: 29.7 kB / 0.5606 GB, free: 260 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.1686, allocations: 92.12 kB / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1686, allocations: 27.8 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.1686, allocations: 13.72 kB / 0.5607 GB, free: 116 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1688, allocations: 326.8 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.1689, allocations: 15.98 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.169, allocations: 37.77 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.1691, allocations: 48.86 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1691, allocations: 3.938 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000203/0.1693, allocations: 81.56 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1693, allocations: 4 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1693, allocations: 7.984 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1693, allocations: 0 / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.1694, allocations: 8 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1694, allocations: 0 / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.1695, allocations: 7.984 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1695, allocations: 11.94 kB / 0.5613 GB, free: 15.55 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 (5): * Single equations (assignments): 5 * 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.0001101/0.1696, allocations: 116 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.1696, allocations: 3.953 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.1699, allocations: 93.91 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1699, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1699, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1699, allocations: 7.984 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.1704, allocations: 350.5 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1704, allocations: 320 / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.1705, allocations: 15.92 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1705, allocations: 4 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1705, allocations: 0 / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.1705, allocations: 7.938 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1705, allocations: 3.938 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1708, allocations: 183.5 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.1709, allocations: 81.06 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1709, allocations: 8 kB / 0.5621 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.171, allocations: 3.938 kB / 0.5621 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.171, allocations: 7.984 kB / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.171, allocations: 0 / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1711, allocations: 113.3 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1711, allocations: 4 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1715, allocations: 39.86 kB / 0.5623 GB, free: 14.42 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 (5): * Single equations (assignments): 5 * 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.001837/0.1733, allocations: 0.4976 MB / 0.5628 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1735, allocations: 39.97 kB / 0.5628 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1735, allocations: 0 / 0.5628 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.1736, allocations: 23.98 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1739, allocations: 18.48 kB / 0.5628 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.1744, allocations: 173.4 kB / 0.563 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1748, allocations: 0.6924 MB / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.1748, allocations: 12.03 kB / 0.5637 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.1749, allocations: 15.42 kB / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1749, allocations: 4 kB / 0.5637 GB, free: 13.08 MB / 430.1 MB Notification: Performance of Templates: time 0.005268/0.1801, allocations: 1.752 MB / 0.5654 GB, free: 11.34 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 5.522119332104921]