Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001824/0.001824, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002098/0.002098, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3594/0.3594, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.314e-05, allocations: 2.312 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.004089/0.004122, allocations: 1.913 MB / 377.2 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.006584, allocations: 1.142 MB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.006744, allocations: 4 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008155/0.00756, allocations: 191.3 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005268/0.008087, allocations: 171.2 kB / 378.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.00857, allocations: 171.5 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.009014, allocations: 279.2 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.009126, allocations: 21.8 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.009423, allocations: 151.7 kB / 379.3 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.009638, allocations: 103.8 kB / 379.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.009687, allocations: 16 kB / 379.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.009891, allocations: 71.83 kB / 379.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.01001, allocations: 71.75 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.01014, allocations: 75.83 kB / 379.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.01065, allocations: 303 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01065, allocations: 0 / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.01066, allocations: 3.984 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.01067, allocations: 0 / 379.9 MB, free: 344 kB / 346.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.001207/0.01187, allocations: 0.7124 MB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.01191, allocations: 11.98 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.01203, allocations: 48.75 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.01243, allocations: 219.6 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.0126, allocations: 174.8 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.01264, allocations: 16.36 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.01307, allocations: 256.1 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.01309, allocations: 3.938 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.01311, allocations: 4 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.01311, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.01344, allocations: 181 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.01446, allocations: 0.7005 MB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.01494, allocations: 278.5 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.0152, allocations: 180.1 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.01522, allocations: 4 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.01588, allocations: 0.534 MB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.163e-06/0.01588, allocations: 0 / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001137/0.01702, allocations: 0.6451 MB / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.01716, allocations: 191.9 kB / 384 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.0176, allocations: 372.3 kB / 384.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.01765, allocations: 33.7 kB / 384.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.01782, allocations: 203.3 kB / 384.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.0179, allocations: 55.58 kB / 384.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.01801, allocations: 71.3 kB / 384.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003167/0.01833, allocations: 0.5235 MB / 385.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.01855, allocations: 145.1 kB / 385.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.01891, allocations: 278.3 kB / 385.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.01943, allocations: 415.2 kB / 386.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01944, allocations: 0 / 386.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007147/0.02015, allocations: 451.8 kB / 386.5 MB, free: 8.934 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.02025, allocations: 97.08 kB / 386.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.02026, allocations: 7.984 kB / 386.6 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.02028, allocations: 4 kB / 386.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.02039, allocations: 27.86 kB / 386.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.0204, allocations: 0 / 386.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.02055, allocations: 27.94 kB / 386.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.02057, allocations: 8 kB / 386.7 MB, free: 8.746 MB / 362.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.0002869/0.02086, allocations: 296.2 kB / 387 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.02095, allocations: 55.75 kB / 387 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004338/0.02138, allocations: 234.8 kB / 387.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.02139, allocations: 4 kB / 387.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.02139, allocations: 3.938 kB / 387.3 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.0214, allocations: 3.984 kB / 387.3 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.02175, allocations: 236.5 kB / 387.5 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.02175, allocations: 4 kB / 387.5 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.02179, allocations: 8 kB / 387.5 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.02179, allocations: 0 / 387.5 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.02182, allocations: 15.94 kB / 387.5 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.02182, allocations: 4 kB / 387.5 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.02183, allocations: 4 kB / 387.5 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.02274, allocations: 0.5913 MB / 388.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.0228, allocations: 27.78 kB / 388.2 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.02285, allocations: 12 kB / 388.2 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.02297, allocations: 15.98 kB / 388.2 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/0.02307, allocations: 27.86 kB / 388.2 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.0231, allocations: 15.98 kB / 388.2 MB, free: 7.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002777/0.02338, allocations: 249.1 kB / 388.5 MB, free: 6.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02338, allocations: 0 / 388.5 MB, free: 6.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005199/0.0239, allocations: 63.94 kB / 388.5 MB, free: 6.75 MB / 362.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.002887/0.02679, allocations: 453.4 kB / 389 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008384/0.02762, allocations: 0.574 MB / 389.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.02763, allocations: 448 / 389.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.02812, allocations: 414.9 kB / 390 MB, free: 5.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.02851, allocations: 68.64 kB / 390 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.02952, allocations: 0.5346 MB / 390.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.02968, allocations: 140.8 kB / 390.7 MB, free: 4.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.545e-05/0.02977, allocations: 30.09 kB / 390.7 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.02983, allocations: 24.5 kB / 390.8 MB, free: 4.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02984, allocations: 0 / 390.8 MB, free: 4.5 MB / 362.7 MB Notification: Performance of Templates: time 0.008968/0.0388, allocations: 3.672 MB / 394.4 MB, free: 0.8633 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.949945993954316]