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.002197/0.002197, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002925/0.002925, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8 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.2685/0.2685, allocations: 46.93 MB / 360.8 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.002055/0.002055, allocations: 67.89 kB / 0.4966 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3844, allocations: 66.03 MB / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.00369/0.3881, allocations: 1.93 MB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.3905, allocations: 1.213 MB / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3906, allocations: 3.938 kB / 0.5642 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008741/0.3915, allocations: 187.5 kB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.392, allocations: 171.4 kB / 0.5645 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.3924, allocations: 163.6 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.3928, allocations: 283.3 kB / 0.565 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3929, allocations: 25.78 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.3931, allocations: 115.6 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3933, allocations: 123.5 kB / 0.5652 GB, free: 176 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.3934, allocations: 20 kB / 0.5652 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.3935, allocations: 71.91 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.905e-05/0.3936, allocations: 59.81 kB / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3938, allocations: 111.4 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.3942, allocations: 301.2 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3942, allocations: 0 / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3942, allocations: 0 / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3942, allocations: 0 / 0.5657 GB, free: 15.62 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.001003/0.3952, allocations: 0.5933 MB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3952, allocations: 8.031 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.3953, allocations: 28.8 kB / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3957, allocations: 229.5 kB / 0.5666 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3958, allocations: 174.8 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.3959, allocations: 15.94 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.3962, allocations: 153 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3963, allocations: 7.922 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3963, allocations: 8 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3963, allocations: 4 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.3965, allocations: 87.94 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.3974, allocations: 0.582 MB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.3978, allocations: 155.9 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3979, allocations: 74.55 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.398, allocations: 3.984 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.3985, allocations: 446.1 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.322e-06/0.3985, allocations: 0 / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008752/0.3994, allocations: 442.5 kB / 0.5687 GB, free: 12.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.3995, allocations: 217.6 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.3999, allocations: 333.8 kB / 0.5692 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3999, allocations: 33.7 kB / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4001, allocations: 128.6 kB / 0.5693 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/0.4001, allocations: 59.58 kB / 0.5694 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.4002, allocations: 45.7 kB / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4004, allocations: 342.8 kB / 0.5698 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.4005, allocations: 59.95 kB / 0.5698 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.4007, allocations: 142.8 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.4012, allocations: 362.9 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4012, allocations: 4 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000538/0.4017, allocations: 354.6 kB / 0.5706 GB, free: 10.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/0.4018, allocations: 93.09 kB / 0.5707 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4018, allocations: 0 / 0.5707 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4018, allocations: 4 kB / 0.5707 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4019, allocations: 27.92 kB / 0.5708 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4019, allocations: 4.375 kB / 0.5708 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.4021, allocations: 27.88 kB / 0.5708 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.4021, allocations: 16 kB / 0.5708 GB, free: 9.895 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.000245/0.4023, allocations: 261.7 kB / 0.5711 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.4024, allocations: 35.78 kB / 0.5711 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.4028, allocations: 208.9 kB / 0.5713 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4028, allocations: 0 / 0.5713 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4028, allocations: 4 kB / 0.5713 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4028, allocations: 4 kB / 0.5713 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.4031, allocations: 264.4 kB / 0.5715 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4031, allocations: 4 kB / 0.5716 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.4031, allocations: 15.88 kB / 0.5716 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4031, allocations: 0 / 0.5716 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.4032, allocations: 8 kB / 0.5716 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.4032, allocations: 3.984 kB / 0.5716 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4032, allocations: 4 kB / 0.5716 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.404, allocations: 451.5 kB / 0.572 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.404, allocations: 31.97 kB / 0.572 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.4041, allocations: 12 kB / 0.5721 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4042, allocations: 15.98 kB / 0.5721 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.4042, allocations: 23.91 kB / 0.5721 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.4043, allocations: 23.92 kB / 0.5721 GB, free: 8.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.4045, allocations: 237.2 kB / 0.5723 GB, free: 8.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4045, allocations: 0 / 0.5723 GB, free: 8.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.4049, allocations: 71.88 kB / 0.5724 GB, free: 8.117 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 (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.001594/0.4065, allocations: 431.4 kB / 0.5728 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006812/0.4071, allocations: 358 kB / 0.5732 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4072, allocations: 0 / 0.5732 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.4075, allocations: 270.1 kB / 0.5734 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.4079, allocations: 70.31 kB / 0.5735 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.4088, allocations: 461.5 kB / 0.5739 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.4092, allocations: 0.7557 MB / 0.5747 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.507e-05/0.4093, allocations: 29.88 kB / 0.5747 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.4094, allocations: 27.42 kB / 0.5747 GB, free: 5.773 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4094, allocations: 0 / 0.5747 GB, free: 5.773 MB / 414.1 MB Notification: Performance of Templates: time 0.009157/0.4185, allocations: 3.596 MB / 0.5782 GB, free: 2.191 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/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.680374599993229]