Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001323/0.001323, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001447/0.001447, allocations: 215.2 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.52/1.52, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.2585/0.2585, allocations: 46.92 MB / 357.8 MB, free: 10.28 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 63.91 kB / 0.4921 GB, free: 7.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1515, allocations: 66 MB / 0.5566 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00392/0.1554, allocations: 1.735 MB / 0.5583 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1574, allocations: 1.034 MB / 0.5593 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.1575, allocations: 4 kB / 0.5593 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.1579, allocations: 51.75 kB / 0.5594 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1582, allocations: 99.55 kB / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1584, allocations: 79.72 kB / 0.5595 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1586, allocations: 107.6 kB / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1587, allocations: 11.98 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1588, allocations: 43.78 kB / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.246e-05/0.1589, allocations: 31.86 kB / 0.5597 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1589, allocations: 4 kB / 0.5597 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.159, allocations: 51.91 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.312e-05/0.1591, allocations: 27.86 kB / 0.5598 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.1592, allocations: 43.67 kB / 0.5598 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1594, allocations: 135.4 kB / 0.56 GB, free: 1.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1594, allocations: 8 kB / 0.56 GB, free: 1.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1594, allocations: 0 / 0.56 GB, free: 1.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1594, allocations: 0 / 0.56 GB, free: 1.719 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.000717/0.1602, allocations: 450.3 kB / 0.5604 GB, free: 1.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1602, allocations: 8.031 kB / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1602, allocations: 20.78 kB / 0.5604 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.1606, allocations: 221.1 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1606, allocations: 384 / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.1607, allocations: 16.11 kB / 0.5607 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1609, allocations: 53.67 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1609, allocations: 0 / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1609, allocations: 0 / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1609, allocations: 0 / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.003e-05/0.161, allocations: 19.98 kB / 0.5607 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.1614, allocations: 304.7 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1616, allocations: 58.67 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.1617, allocations: 24.83 kB / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1617, allocations: 3.938 kB / 0.5611 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.1619, allocations: 75.33 kB / 0.5612 GB, free: 328 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.1619, allocations: 0 / 0.5612 GB, free: 328 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006109/0.1625, allocations: 185.3 kB / 0.5614 GB, free: 136 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1625, allocations: 51.41 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.1629, allocations: 270.8 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1629, allocations: 25.7 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.163, allocations: 116.1 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.1631, allocations: 27.78 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.1631, allocations: 21.72 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1633, allocations: 334.7 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.1633, allocations: 23.98 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.1634, allocations: 37.69 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1636, allocations: 65.64 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1636, allocations: 0 / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002101/0.1638, allocations: 105.6 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1638, allocations: 4 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1638, allocations: 4.031 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1638, allocations: 4 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.1639, allocations: 23.92 kB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1639, allocations: 0 / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.164, allocations: 7.938 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.164, allocations: 0 / 0.5624 GB, free: 14.96 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.0001443/0.1641, allocations: 136 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.1641, allocations: 15.91 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.1642, allocations: 21.39 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1642, allocations: 4 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1642, allocations: 0 / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1642, allocations: 3.938 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.1648, allocations: 407.3 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1648, allocations: 0 / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.1648, allocations: 11.98 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1648, allocations: 0 / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1648, allocations: 3.938 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1648, allocations: 11.97 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1648, allocations: 0 / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1651, allocations: 200.5 kB / 0.5632 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.1652, allocations: 89.02 kB / 0.5633 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1652, allocations: 16.25 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.1653, allocations: 3.984 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.1653, allocations: 12 kB / 0.5633 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1653, allocations: 4 kB / 0.5633 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.1656, allocations: 208.6 kB / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1656, allocations: 3.938 kB / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1659, allocations: 23.94 kB / 0.5636 GB, free: 13.71 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.001882/0.1677, allocations: 465.7 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1679, allocations: 51.97 kB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1679, allocations: 0 / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.168, allocations: 31.92 kB / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1684, allocations: 20.3 kB / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.1691, allocations: 341.3 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.1696, allocations: 0.7196 MB / 0.5651 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.1696, allocations: 15.44 kB / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1696, allocations: 0 / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of Templates: time 0.004782/0.1744, allocations: 2.121 MB / 0.5672 GB, free: 10.09 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.100063896999927]