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.001362/0.001362, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.0015/0.0015, allocations: 213.2 kB / 24.48 MB, free: 3.84 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 / 258.2 MB, free: 7.805 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.2361/0.2361, allocations: 46.97 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.002065/0.002065, allocations: 67.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2955, allocations: 66.04 MB / 0.5618 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.00358/0.2991, allocations: 1.875 MB / 0.5636 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.3013, allocations: 1.127 MB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3014, allocations: 3.938 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.3021, allocations: 191.2 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.3026, allocations: 175.3 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.3031, allocations: 163.6 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.3034, allocations: 279.3 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3035, allocations: 17.8 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3037, allocations: 115.6 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.3039, allocations: 123.5 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.3039, allocations: 19.94 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.3041, allocations: 71.95 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.181e-05/0.3042, allocations: 55.83 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3043, allocations: 91.58 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.3047, allocations: 293.2 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3047, allocations: 3.938 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3047, allocations: 0 / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3048, allocations: 0 / 0.5663 GB, free: 15.54 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.001078/0.3058, allocations: 0.6011 MB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3059, allocations: 8.031 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.306, allocations: 28.8 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.3064, allocations: 221.5 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.3065, allocations: 170.8 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.3066, allocations: 15.94 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.307, allocations: 240.9 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.307, allocations: 3.938 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.307, allocations: 8 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.307, allocations: 4 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.3074, allocations: 181 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.3082, allocations: 0.5356 MB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.3086, allocations: 241 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.3089, allocations: 159.6 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3089, allocations: 8 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005795/0.3095, allocations: 0.5154 MB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/0.3095, allocations: 0 / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001047/0.3105, allocations: 0.6143 MB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.3107, allocations: 203.8 kB / 0.5699 GB, free: 11.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.311, allocations: 329.8 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3111, allocations: 33.7 kB / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3112, allocations: 132.6 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/0.3112, allocations: 59.58 kB / 0.5704 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.3113, allocations: 49.64 kB / 0.5705 GB, free: 10.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3115, allocations: 342.8 kB / 0.5708 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3117, allocations: 145.1 kB / 0.5709 GB, free: 10.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.312, allocations: 256.2 kB / 0.5712 GB, free: 9.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.3125, allocations: 366.6 kB / 0.5715 GB, free: 9.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3125, allocations: 4 kB / 0.5715 GB, free: 9.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006549/0.3132, allocations: 439.4 kB / 0.572 GB, free: 9.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.3132, allocations: 101 kB / 0.5721 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3132, allocations: 4.219 kB / 0.5721 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3133, allocations: 4 kB / 0.5721 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3134, allocations: 27.92 kB / 0.5721 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3134, allocations: 4 kB / 0.5721 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3135, allocations: 23.88 kB / 0.5721 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.3135, allocations: 12 kB / 0.5721 GB, free: 8.812 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.0002638/0.3138, allocations: 266 kB / 0.5724 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.3139, allocations: 35.8 kB / 0.5724 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.3143, allocations: 238.8 kB / 0.5727 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3143, allocations: 4 kB / 0.5727 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3143, allocations: 0 / 0.5727 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3143, allocations: 3.938 kB / 0.5727 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.3146, allocations: 209.1 kB / 0.5729 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3146, allocations: 7.922 kB / 0.5729 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.3146, allocations: 8 kB / 0.5729 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3146, allocations: 0 / 0.5729 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.3146, allocations: 15.94 kB / 0.5729 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3146, allocations: 0 / 0.5729 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3146, allocations: 8 kB / 0.5729 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.3154, allocations: 0.524 MB / 0.5734 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.3155, allocations: 31.8 kB / 0.5734 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.3155, allocations: 15.94 kB / 0.5735 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3156, allocations: 15.98 kB / 0.5735 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.3157, allocations: 19.97 kB / 0.5735 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.3157, allocations: 19.98 kB / 0.5735 GB, free: 7.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002765/0.316, allocations: 241.2 kB / 0.5737 GB, free: 7.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.316, allocations: 0 / 0.5737 GB, free: 7.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.3163, allocations: 67.94 kB / 0.5738 GB, free: 6.961 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.001674/0.318, allocations: 482.3 kB / 0.5743 GB, free: 6.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007465/0.3188, allocations: 0.5311 MB / 0.5748 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3188, allocations: 4 kB / 0.5748 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.3192, allocations: 367.6 kB / 0.5751 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3196, allocations: 50.91 kB / 0.5752 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000993/0.3206, allocations: 0.5702 MB / 0.5757 GB, free: 4.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.3207, allocations: 141.1 kB / 0.5759 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.3208, allocations: 19.44 kB / 0.5759 GB, free: 4.793 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3208, allocations: 4.188 kB / 0.5759 GB, free: 4.789 MB / 414.1 MB Notification: Performance of Templates: time 0.006663/0.3274, allocations: 3.664 MB / 0.5795 GB, free: 1.133 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.063727831933647]