Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.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.000775/0.000775, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003543/0.003543, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8622/0.8622, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2458/0.2458, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 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.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.089e-05, allocations: 2.844 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.1666/0.1667, allocations: 1.879 MB / 445.3 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1677, allocations: 1.134 MB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.1678, allocations: 2.594 kB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.1684, allocations: 194.4 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1687, allocations: 175.1 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.1689, allocations: 164.7 kB / 447 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1691, allocations: 281.3 kB / 447.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.1692, allocations: 23.86 kB / 447.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1693, allocations: 151.9 kB / 447.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1694, allocations: 105 kB / 447.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1695, allocations: 17.91 kB / 447.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1696, allocations: 65.2 kB / 447.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.1696, allocations: 69.62 kB / 447.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.1697, allocations: 76 kB / 447.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.1699, allocations: 308.2 kB / 448 MB, free: 42.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.17, allocations: 0 / 448 MB, free: 42.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.17, allocations: 0 / 448 MB, free: 42.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.17, allocations: 0 / 448 MB, free: 42.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006485/0.1706, allocations: 0.5961 MB / 448.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1706, allocations: 8.062 kB / 448.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.1707, allocations: 32.88 kB / 448.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1709, allocations: 216.8 kB / 448.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.171, allocations: 173 kB / 449 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.171, allocations: 16 kB / 449.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1712, allocations: 245.7 kB / 449.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1712, allocations: 0 / 449.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1713, allocations: 6.375 kB / 449.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1713, allocations: 6.875 kB / 449.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.1714, allocations: 184.2 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1718, allocations: 0.5243 MB / 450 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.172, allocations: 241.5 kB / 450.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.1721, allocations: 160.6 kB / 450.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1721, allocations: 4 kB / 450.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.1724, allocations: 0.5189 MB / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.1724, allocations: 2.906 kB / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004752/0.1729, allocations: 0.6112 MB / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1729, allocations: 192.5 kB / 451.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1731, allocations: 331.6 kB / 452.1 MB, free: 39.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1731, allocations: 35.05 kB / 452.1 MB, free: 39.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.1731, allocations: 138.7 kB / 452.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1732, allocations: 59.89 kB / 452.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1732, allocations: 49.22 kB / 452.3 MB, free: 39.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.1733, allocations: 341.5 kB / 452.7 MB, free: 38.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.1733, allocations: 145.2 kB / 452.8 MB, free: 38.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.911e-05/0.1734, allocations: 253.6 kB / 453.1 MB, free: 38.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1736, allocations: 372 kB / 453.4 MB, free: 38.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1736, allocations: 0 / 453.4 MB, free: 38.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002711/0.1739, allocations: 431.1 kB / 453.8 MB, free: 37.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.1739, allocations: 99.12 kB / 453.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1739, allocations: 7.125 kB / 453.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.174, allocations: 2.812 kB / 453.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.174, allocations: 29.19 kB / 454 MB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.174, allocations: 5.688 kB / 454 MB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.1741, allocations: 22.73 kB / 454 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1741, allocations: 15.19 kB / 454 MB, free: 37.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0001099/0.1742, allocations: 269 kB / 454.3 MB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1742, allocations: 35.5 kB / 454.3 MB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.1745, allocations: 240.6 kB / 454.5 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1745, allocations: 6.547 kB / 454.6 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1745, allocations: 6.75 kB / 454.6 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1745, allocations: 0 / 454.6 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.1746, allocations: 206.2 kB / 454.8 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1746, allocations: 0 / 454.8 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.1746, allocations: 8.469 kB / 454.8 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1746, allocations: 0 / 454.8 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1746, allocations: 15.75 kB / 454.8 MB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1746, allocations: 0 / 454.8 MB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1746, allocations: 10.75 kB / 454.8 MB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.1749, allocations: 0.5354 MB / 455.3 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.175, allocations: 24.14 kB / 455.4 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.175, allocations: 11.86 kB / 455.4 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.175, allocations: 18.39 kB / 455.4 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.1751, allocations: 22.77 kB / 455.4 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1751, allocations: 15.25 kB / 455.4 MB, free: 36.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1753, allocations: 241.9 kB / 455.7 MB, free: 36.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1753, allocations: 1.5 kB / 455.7 MB, free: 36.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.1755, allocations: 73.56 kB / 455.7 MB, free: 36.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0007252/0.1762, allocations: 461.2 kB / 456.2 MB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1765, allocations: 0.5339 MB / 456.7 MB, free: 35.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1765, allocations: 0 / 456.7 MB, free: 35.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1767, allocations: 371.5 kB / 457.1 MB, free: 35.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1769, allocations: 54.36 kB / 457.1 MB, free: 35.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.1774, allocations: 0.5759 MB / 457.7 MB, free: 35.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.236e-05/0.1775, allocations: 146 kB / 457.9 MB, free: 35.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.1775, allocations: 25.27 kB / 457.9 MB, free: 35.08 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1775, allocations: 4 kB / 457.9 MB, free: 35.07 MB / 410.7 MB Notification: Performance of Templates: time 0.003504/0.181, allocations: 3.668 MB / 461.5 MB, free: 34.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.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: 4.635908453725278]