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.001305/0.001305, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001391/0.001391, allocations: 209 kB / 24.48 MB, free: 3.938 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.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.734 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.2363/0.2363, allocations: 46.97 MB / 361.6 MB, free: 4.004 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.002613/0.002613, allocations: 68.14 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3656, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.00351/0.3691, allocations: 1.87 MB / 0.5636 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.3712, allocations: 1.127 MB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3713, allocations: 7.938 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.372, allocations: 187.4 kB / 0.5649 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.3725, allocations: 171 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.3729, allocations: 171.5 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.3732, allocations: 279.3 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3734, allocations: 21.8 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3735, allocations: 111.6 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3737, allocations: 123.6 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.3737, allocations: 20 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3739, allocations: 79.88 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.374, allocations: 63.83 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3741, allocations: 83.58 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.3745, allocations: 297.2 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3746, allocations: 0 / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3746, allocations: 3.938 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3746, allocations: 0 / 0.5663 GB, free: 15.55 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.00106/0.3756, allocations: 0.6011 MB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3757, allocations: 12.03 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.3757, allocations: 28.8 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.3761, allocations: 221.5 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.3763, allocations: 166.8 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.3763, allocations: 19.94 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.3767, allocations: 237.3 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3767, allocations: 0 / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.3767, allocations: 4 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3767, allocations: 4 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.377, allocations: 185 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.3779, allocations: 0.5318 MB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.3783, allocations: 237.1 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.3785, allocations: 167.6 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3785, allocations: 0 / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005837/0.3791, allocations: 0.5193 MB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.363e-06/0.3791, allocations: 0 / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001047/0.3802, allocations: 0.61 MB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.3803, allocations: 203.8 kB / 0.5699 GB, free: 11.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.3807, allocations: 325.8 kB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3807, allocations: 33.7 kB / 0.5703 GB, free: 10.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3808, allocations: 136.6 kB / 0.5704 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.3809, allocations: 59.52 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.381, allocations: 49.7 kB / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3812, allocations: 342.8 kB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3814, allocations: 149 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.3817, allocations: 252.2 kB / 0.5712 GB, free: 9.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.3821, allocations: 371.3 kB / 0.5716 GB, free: 9.496 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3821, allocations: 0 / 0.5716 GB, free: 9.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006463/0.3828, allocations: 447.3 kB / 0.572 GB, free: 9.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.3828, allocations: 101 kB / 0.5721 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3828, allocations: 4 kB / 0.5721 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3829, allocations: 224 / 0.5721 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.383, allocations: 27.92 kB / 0.5721 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.383, allocations: 4.156 kB / 0.5721 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3831, allocations: 27.88 kB / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.3831, allocations: 12 kB / 0.5721 GB, free: 8.824 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.0002562/0.3834, allocations: 270 kB / 0.5724 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.3835, allocations: 31.8 kB / 0.5724 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.3839, allocations: 234.8 kB / 0.5727 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3839, allocations: 8 kB / 0.5727 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3839, allocations: 0 / 0.5727 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3839, allocations: 192 / 0.5727 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.3842, allocations: 205.1 kB / 0.5729 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.3842, allocations: 7.984 kB / 0.5729 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.3842, allocations: 15.86 kB / 0.5729 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3842, allocations: 0 / 0.5729 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3842, allocations: 15.94 kB / 0.5729 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3842, allocations: 4 kB / 0.5729 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3842, allocations: 4 kB / 0.5729 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.385, allocations: 0.5358 MB / 0.5734 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.3851, allocations: 27.8 kB / 0.5735 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.3851, allocations: 15.94 kB / 0.5735 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.3853, allocations: 15.98 kB / 0.5735 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.3854, allocations: 23.97 kB / 0.5735 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.3854, allocations: 11.98 kB / 0.5735 GB, free: 7.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002808/0.3857, allocations: 241.2 kB / 0.5738 GB, free: 7.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3857, allocations: 4 kB / 0.5738 GB, free: 7.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003349/0.386, allocations: 67.94 kB / 0.5738 GB, free: 6.965 MB / 414.1 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.001699/0.3877, allocations: 458.6 kB / 0.5743 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007392/0.3884, allocations: 0.5353 MB / 0.5748 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3884, allocations: 0 / 0.5748 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.3889, allocations: 375.2 kB / 0.5751 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3893, allocations: 56.84 kB / 0.5752 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009593/0.3902, allocations: 0.5702 MB / 0.5757 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.3904, allocations: 141.1 kB / 0.5759 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.3904, allocations: 23.62 kB / 0.5759 GB, free: 4.801 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3904, allocations: 0 / 0.5759 GB, free: 4.801 MB / 414.1 MB Notification: Performance of Templates: time 0.006538/0.397, allocations: 3.662 MB / 0.5795 GB, free: 1.145 MB / 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: 8.056706086994382]