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.001403/0.001403, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001555/0.001555, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2392/0.2392, allocations: 46.96 MB / 361.6 MB, free: 4.016 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.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 0.002043/0.002043, allocations: 67.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3532, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003638/0.3568, allocations: 1.871 MB / 0.5636 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3589, allocations: 1.127 MB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.359, allocations: 3.938 kB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.3597, allocations: 187.4 kB / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.3602, allocations: 175.4 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.3606, allocations: 167.2 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.3609, allocations: 279.3 kB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.361, allocations: 29.78 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3612, allocations: 111.6 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.3614, allocations: 123.6 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.3614, allocations: 16 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.3616, allocations: 79.94 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.3617, allocations: 59.75 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3618, allocations: 87.59 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.3622, allocations: 293.2 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3622, allocations: 3.938 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3622, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3622, allocations: 0 / 0.5663 GB, free: 15.57 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009711/0.3632, allocations: 0.6011 MB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3632, allocations: 8.031 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.477e-05/0.3633, allocations: 28.8 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.3637, allocations: 221.5 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.3639, allocations: 170.8 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.3639, allocations: 15.94 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.3643, allocations: 244.1 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3643, allocations: 0 / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.3643, allocations: 8 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3643, allocations: 0 / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.3646, allocations: 185 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.3655, allocations: 0.5395 MB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.3659, allocations: 241 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.3662, allocations: 163.6 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3662, allocations: 4 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005601/0.3667, allocations: 0.5138 MB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.834e-06/0.3667, allocations: 0 / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001126/0.3679, allocations: 0.6139 MB / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.368, allocations: 199.8 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.3684, allocations: 329.8 kB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3684, allocations: 41.69 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3685, allocations: 132.6 kB / 0.5704 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.4e-05/0.3686, allocations: 55.58 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.3687, allocations: 45.7 kB / 0.5705 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3688, allocations: 338.8 kB / 0.5708 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3691, allocations: 149 kB / 0.571 GB, free: 10.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.3693, allocations: 252.2 kB / 0.5712 GB, free: 9.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.3698, allocations: 367 kB / 0.5716 GB, free: 9.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.3698, allocations: 4 kB / 0.5716 GB, free: 9.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007215/0.3705, allocations: 443.5 kB / 0.572 GB, free: 9.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.3706, allocations: 101.1 kB / 0.5721 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3707, allocations: 3.938 kB / 0.5721 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.3707, allocations: 4 kB / 0.5721 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3708, allocations: 27.92 kB / 0.5721 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3708, allocations: 8.141 kB / 0.5721 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.371, allocations: 23.88 kB / 0.5721 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.371, allocations: 12 kB / 0.5722 GB, free: 8.836 MB / 414.1 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.0002599/0.3713, allocations: 270 kB / 0.5724 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.3713, allocations: 31.86 kB / 0.5724 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.3717, allocations: 238.7 kB / 0.5727 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3717, allocations: 0 / 0.5727 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3717, allocations: 0 / 0.5727 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.3718, allocations: 31.78 kB / 0.5727 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.3719, allocations: 12 kB / 0.5727 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.372, allocations: 15.98 kB / 0.5727 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.3721, allocations: 23.86 kB / 0.5727 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009794/0.373, allocations: 0.8942 MB / 0.5736 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009143/0.374, allocations: 0.8153 MB / 0.5744 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002722/0.3742, allocations: 193.4 kB / 0.5746 GB, free: 6.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002903/0.3745, allocations: 241.2 kB / 0.5748 GB, free: 5.887 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.3745, allocations: 0 / 0.5748 GB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002591/0.3771, allocations: 0.7937 MB / 0.5756 GB, free: 5.219 MB / 414.1 MB Notification: Performance of SimCode: time 0.001181/0.3783, allocations: 1.023 MB / 0.5766 GB, free: 4.113 MB / 414.1 MB Notification: Performance of Templates: time 0.00945/0.3877, allocations: 4.097 MB / 0.5806 GB, free: 48 kB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/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: 5.135075675032567]