Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001709/0.001709, allocations: 119.4 kB / 18.46 MB, free: 4.578 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.002145/0.002145, allocations: 209.6 kB / 21.42 MB, free: 1.625 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.483/1.483, allocations: 230.6 MB / 254.8 MB, free: 15.05 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.2536/0.2536, allocations: 46.92 MB / 357.8 MB, free: 10.27 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 63.89 kB / 0.4921 GB, free: 7.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1545, allocations: 66.01 MB / 0.5565 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.004678/0.1592, allocations: 1.624 MB / 0.5581 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1608, allocations: 0.5455 MB / 0.5587 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1609, allocations: 0 / 0.5587 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003818/0.1613, allocations: 103.7 kB / 0.5588 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.1617, allocations: 107.6 kB / 0.5589 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.1622, allocations: 115.7 kB / 0.559 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.1624, allocations: 87.73 kB / 0.5591 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1626, allocations: 16 kB / 0.5591 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1627, allocations: 35.84 kB / 0.5591 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1628, allocations: 63.8 kB / 0.5592 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1628, allocations: 0 / 0.5592 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.163, allocations: 47.98 kB / 0.5592 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.1631, allocations: 27.84 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.1631, allocations: 27.75 kB / 0.5593 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.1634, allocations: 119.4 kB / 0.5594 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1634, allocations: 4 kB / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1634, allocations: 0 / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1634, allocations: 4 kB / 0.5594 GB, free: 2.297 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007158/0.1641, allocations: 420.9 kB / 0.5598 GB, free: 1.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1642, allocations: 12.03 kB / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.1642, allocations: 12.84 kB / 0.5598 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1645, allocations: 212.1 kB / 0.56 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1645, allocations: 4.375 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1645, allocations: 4.328 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1647, allocations: 57.8 kB / 0.5601 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1647, allocations: 8 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1647, allocations: 0 / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1647, allocations: 0 / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1648, allocations: 27.92 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.1653, allocations: 308.7 kB / 0.5604 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1655, allocations: 38.56 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.1655, allocations: 24.94 kB / 0.5605 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1656, allocations: 0 / 0.5605 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1656, allocations: 34.56 kB / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1656, allocations: 0 / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001026/0.1666, allocations: 249.2 kB / 0.5607 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1667, allocations: 55.39 kB / 0.5608 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.1669, allocations: 235.4 kB / 0.561 GB, free: 448 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1669, allocations: 25.7 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.167, allocations: 108.1 kB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.1671, allocations: 27.8 kB / 0.5612 GB, free: 276 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.1671, allocations: 17.72 kB / 0.5612 GB, free: 252 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1673, allocations: 330.8 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.1674, allocations: 27.98 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.1675, allocations: 35.97 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1676, allocations: 68.83 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1676, allocations: 0 / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002638/0.1679, allocations: 121.5 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1679, allocations: 4 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1679, allocations: 3.984 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1679, allocations: 0 / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1681, allocations: 16 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1681, allocations: 7.922 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.1681, allocations: 11.94 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1681, allocations: 0 / 0.5618 GB, free: 15.61 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 (8): * Single equations (assignments): 8 * 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.0001378/0.1683, allocations: 140 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.1683, allocations: 8.375 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.1686, allocations: 143.2 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1686, allocations: 0 / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.1686, allocations: 3.984 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1687, allocations: 7.938 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.1693, allocations: 423.3 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1693, allocations: 0 / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.1693, allocations: 23.98 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.1694, allocations: 3.938 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1694, allocations: 0 / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1694, allocations: 0 / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1694, allocations: 4 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.1697, allocations: 220.2 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.1697, allocations: 89 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1698, allocations: 3.938 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.1698, allocations: 8 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.1699, allocations: 7.984 kB / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1699, allocations: 0 / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1701, allocations: 179.5 kB / 0.563 GB, free: 14.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1701, allocations: 0 / 0.563 GB, free: 14.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1704, allocations: 27.95 kB / 0.563 GB, free: 14.23 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 (8): * Single equations (assignments): 8 * 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.001822/0.1722, allocations: 460.3 kB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.1724, allocations: 75.89 kB / 0.5635 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1724, allocations: 0 / 0.5635 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1725, allocations: 43.91 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.173, allocations: 26.33 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006803/0.1736, allocations: 316.5 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.174, allocations: 0.7119 MB / 0.5646 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.1741, allocations: 19.42 kB / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1741, allocations: 0 / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of Templates: time 0.005078/0.1792, allocations: 1.862 MB / 0.5664 GB, free: 10.86 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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: 7.889714235992869]