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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 105.9 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 197.4 kB / 23.52 MB, free: 5.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 252.1 MB, free: 13.39 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2119/0.2119, allocations: 44.91 MB / 352.1 MB, free: 12.28 MB / 286.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00185/0.00185, allocations: 71.89 kB / 495.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2888, allocations: 64.24 MB / 0.5467 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003377/0.2921, allocations: 1.904 MB / 0.5486 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2938, allocations: 1.041 MB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.535e-05/0.2939, allocations: 6.156 kB / 0.5496 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.2945, allocations: 175.8 kB / 0.5498 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.2949, allocations: 137.1 kB / 0.5499 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.2953, allocations: 193.5 kB / 0.5501 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.2957, allocations: 264.4 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2958, allocations: 26.25 kB / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.2959, allocations: 108.9 kB / 0.5505 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.2961, allocations: 122 kB / 0.5506 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.2961, allocations: 20.91 kB / 0.5506 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.2963, allocations: 69.2 kB / 0.5507 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.2964, allocations: 61.64 kB / 0.5508 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.2965, allocations: 115.8 kB / 0.5509 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.2969, allocations: 275.9 kB / 0.5511 GB, free: 9.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2969, allocations: 1.094 kB / 0.5511 GB, free: 9.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2969, allocations: 0 / 0.5511 GB, free: 9.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2969, allocations: 0 / 0.5511 GB, free: 9.938 MB / 398.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.001008/0.2979, allocations: 0.6679 MB / 0.5518 GB, free: 9.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2979, allocations: 12.56 kB / 0.5518 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.298, allocations: 28.7 kB / 0.5518 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.2984, allocations: 283.2 kB / 0.5521 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/0.2985, allocations: 91.64 kB / 0.5522 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.2985, allocations: 20.97 kB / 0.5522 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.2988, allocations: 157.2 kB / 0.5523 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2988, allocations: 4 kB / 0.5524 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.2989, allocations: 4.625 kB / 0.5524 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2989, allocations: 2.281 kB / 0.5524 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.2991, allocations: 96.77 kB / 0.5524 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/0.2999, allocations: 0.5993 MB / 0.553 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.3003, allocations: 160.3 kB / 0.5532 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3004, allocations: 76.78 kB / 0.5533 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3005, allocations: 1.25 kB / 0.5533 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004645/0.3009, allocations: 434.5 kB / 0.5537 GB, free: 7.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/0.3009, allocations: 3.938 kB / 0.5537 GB, free: 7.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008512/0.3018, allocations: 455 kB / 0.5541 GB, free: 7.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.3019, allocations: 220 kB / 0.5543 GB, free: 6.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.3023, allocations: 311.1 kB / 0.5546 GB, free: 6.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.3023, allocations: 34.92 kB / 0.5547 GB, free: 6.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3024, allocations: 131.6 kB / 0.5548 GB, free: 6.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.3025, allocations: 52.59 kB / 0.5548 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.13e-05/0.3026, allocations: 55.09 kB / 0.5549 GB, free: 6.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3027, allocations: 338.7 kB / 0.5552 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3029, allocations: 60.69 kB / 0.5553 GB, free: 6.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3031, allocations: 142 kB / 0.5554 GB, free: 6.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.3035, allocations: 362.1 kB / 0.5557 GB, free: 5.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3035, allocations: 0 / 0.5557 GB, free: 5.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005416/0.304, allocations: 350.7 kB / 0.5561 GB, free: 5.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.3041, allocations: 95.47 kB / 0.5562 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3041, allocations: 8.094 kB / 0.5562 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3041, allocations: 6.906 kB / 0.5562 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.3042, allocations: 22.7 kB / 0.5562 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3042, allocations: 7.594 kB / 0.5562 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.3044, allocations: 28.34 kB / 0.5562 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.3044, allocations: 10.12 kB / 0.5562 GB, free: 5.336 MB / 398.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.0002349/0.3046, allocations: 253.1 kB / 0.5565 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.3047, allocations: 42.38 kB / 0.5565 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.3051, allocations: 204.9 kB / 0.5567 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3051, allocations: 2.25 kB / 0.5567 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3051, allocations: 1.344 kB / 0.5567 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3051, allocations: 1.062 kB / 0.5567 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.3054, allocations: 290.8 kB / 0.557 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3054, allocations: 1.125 kB / 0.557 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.3054, allocations: 8.406 kB / 0.557 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3054, allocations: 1.188 kB / 0.557 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.3054, allocations: 12.59 kB / 0.557 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.3055, allocations: 9.094 kB / 0.557 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3055, allocations: 3.938 kB / 0.557 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/0.3061, allocations: 444.9 kB / 0.5575 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.3062, allocations: 104.9 kB / 0.5576 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.3063, allocations: 12 kB / 0.5576 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3064, allocations: 23.98 kB / 0.5576 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.3065, allocations: 19.97 kB / 0.5576 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.3065, allocations: 8 kB / 0.5576 GB, free: 4.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.3067, allocations: 240.4 kB / 0.5579 GB, free: 3.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3067, allocations: 3.938 kB / 0.5579 GB, free: 3.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.3071, allocations: 63.94 kB / 0.5579 GB, free: 3.738 MB / 398.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 (14): * Single equations (assignments): 9 * 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.001465/0.3085, allocations: 445.7 kB / 0.5583 GB, free: 3.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005758/0.3091, allocations: 350 kB / 0.5587 GB, free: 3.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3091, allocations: 4 kB / 0.5587 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.3095, allocations: 274.1 kB / 0.5589 GB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3098, allocations: 51.73 kB / 0.559 GB, free: 2.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.3107, allocations: 487.2 kB / 0.5595 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.3111, allocations: 0.7555 MB / 0.5602 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.3111, allocations: 19.44 kB / 0.5602 GB, free: 1.402 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3111, allocations: 4 kB / 0.5602 GB, free: 1.398 MB / 398.1 MB Notification: Performance of Templates: time 0.006043/0.3172, allocations: 3.539 MB / 0.5637 GB, free: 13.86 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/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