Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001462/0.001462, allocations: 116 kB / 18.45 MB, free: 4.562 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.002065/0.002065, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.551/1.551, allocations: 230.6 MB / 254.8 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.2417/0.2417, allocations: 46.93 MB / 357.8 MB, free: 10.29 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.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.89 kB / 0.4922 GB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.157, allocations: 66.01 MB / 0.5566 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004287/0.1613, allocations: 1.733 MB / 0.5583 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.1634, allocations: 1.038 MB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1636, allocations: 0 / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1639, allocations: 55.75 kB / 0.5594 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.1643, allocations: 99.53 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1646, allocations: 83.66 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1648, allocations: 103.7 kB / 0.5596 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.1648, allocations: 12 kB / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.1649, allocations: 43.78 kB / 0.5597 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.165, allocations: 35.78 kB / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.165, allocations: 4 kB / 0.5597 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1652, allocations: 47.98 kB / 0.5598 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.1653, allocations: 31.84 kB / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.1653, allocations: 43.67 kB / 0.5599 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.1656, allocations: 127.4 kB / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1656, allocations: 0 / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1656, allocations: 0 / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1656, allocations: 0 / 0.56 GB, free: 1.766 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000782/0.1664, allocations: 466.3 kB / 0.5604 GB, free: 1.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1664, allocations: 8.031 kB / 0.5604 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.1665, allocations: 20.84 kB / 0.5604 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.1669, allocations: 213.1 kB / 0.5607 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1669, allocations: 4.375 kB / 0.5607 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1669, allocations: 8.125 kB / 0.5607 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1671, allocations: 53.61 kB / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.1671, allocations: 8 kB / 0.5607 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1672, allocations: 0 / 0.5607 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1672, allocations: 0 / 0.5607 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.982e-05/0.1673, allocations: 23.92 kB / 0.5607 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.1678, allocations: 308.8 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.168, allocations: 54.67 kB / 0.5611 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.168, allocations: 16.86 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1681, allocations: 3.984 kB / 0.5611 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.1682, allocations: 71.33 kB / 0.5612 GB, free: 372 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1682, allocations: 0 / 0.5612 GB, free: 372 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006534/0.1689, allocations: 181.3 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.169, allocations: 59.39 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.1693, allocations: 270.8 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1693, allocations: 25.7 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/0.1694, allocations: 112.1 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.1695, allocations: 27.8 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.1695, allocations: 25.7 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1697, allocations: 330.8 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.438e-05/0.1698, allocations: 28.3 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.1699, allocations: 33.7 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.17, allocations: 57.72 kB / 0.5623 GB, free: 15.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.17, allocations: 11.98 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.1702, allocations: 113.5 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1702, allocations: 8 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.1702, allocations: 0 / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.1703, allocations: 0 / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1704, allocations: 15.98 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1704, allocations: 4 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.1704, allocations: 3.938 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1704, allocations: 8 kB / 0.5624 GB, free: 15 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001552/0.1706, allocations: 140 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.1706, allocations: 15.91 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.1707, allocations: 17.39 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1707, allocations: 4 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1707, allocations: 0 / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.1707, allocations: 8.109 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.1713, allocations: 403.3 kB / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1713, allocations: 7.969 kB / 0.563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.1713, allocations: 11.94 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1713, allocations: 4 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1713, allocations: 7.922 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1713, allocations: 0 / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1713, allocations: 0 / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1716, allocations: 204.3 kB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.1717, allocations: 93.02 kB / 0.5633 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.1717, allocations: 3.938 kB / 0.5633 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.1718, allocations: 7.984 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.1718, allocations: 8 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1718, allocations: 3.938 kB / 0.5633 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.1721, allocations: 204.6 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1721, allocations: 0 / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1723, allocations: 31.88 kB / 0.5636 GB, free: 13.74 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001864/0.1742, allocations: 456.7 kB / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.1744, allocations: 59.89 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1744, allocations: 4 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.1745, allocations: 24.05 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1748, allocations: 34 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.1755, allocations: 337.1 kB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.176, allocations: 0.7235 MB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.176, allocations: 19.38 kB / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1761, allocations: 4.062 kB / 0.5652 GB, free: 12.22 MB / 430.1 MB Notification: Performance of Templates: time 0.005495/0.1815, allocations: 2.101 MB / 0.5672 GB, free: 10.12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.07294639799511]