Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001458/0.001458, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001721/0.001721, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9322/0.9322, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1439/0.1439, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.097e-05, allocations: 2.312 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002449/0.002479, allocations: 1.935 MB / 349.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003633, allocations: 0.94 MB / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.003757, allocations: 7.938 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006138/0.004371, allocations: 187.4 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.004617, allocations: 139.4 kB / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.004947, allocations: 171.5 kB / 351 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.005202, allocations: 271.3 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.005315, allocations: 25.73 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.005491, allocations: 143.7 kB / 351.5 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.005646, allocations: 103.8 kB / 351.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.005678, allocations: 20 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.005804, allocations: 71.81 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-05/0.005872, allocations: 63.83 kB / 351.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.005939, allocations: 67.83 kB / 351.8 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.006208, allocations: 227.1 kB / 352 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.006211, allocations: 0 / 352 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.006212, allocations: 0 / 352 MB, free: 5.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.006218, allocations: 0 / 352 MB, free: 5.098 MB / 282.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.0006799/0.006898, allocations: 0.7009 MB / 352.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.006937, allocations: 12.03 kB / 352.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.311e-05/0.00702, allocations: 40.8 kB / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.007313, allocations: 228.3 kB / 353 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.007386, allocations: 174.8 kB / 353.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.007407, allocations: 16.38 kB / 353.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.007641, allocations: 230.1 kB / 353.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.00765, allocations: 0 / 353.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.007664, allocations: 4 kB / 353.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.007672, allocations: 4 kB / 353.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.643e-05/0.007769, allocations: 149 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.008255, allocations: 0.6576 MB / 354.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.008435, allocations: 234.5 kB / 354.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.008512, allocations: 148.1 kB / 354.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.008531, allocations: 4 kB / 354.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.008751, allocations: 0.5194 MB / 355.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.008753, allocations: 0 / 355.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004272/0.00918, allocations: 0.5671 MB / 355.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.009218, allocations: 191.9 kB / 355.8 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.009376, allocations: 316.3 kB / 356.2 MB, free: 416 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.009391, allocations: 29.7 kB / 356.2 MB, free: 380 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.009452, allocations: 179.4 kB / 356.4 MB, free: 196 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.009484, allocations: 59.58 kB / 356.4 MB, free: 136 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.009534, allocations: 55.3 kB / 356.5 MB, free: 72 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.009673, allocations: 0.5118 MB / 357 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.009762, allocations: 121.1 kB / 357.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.0099, allocations: 255.3 kB / 357.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.01011, allocations: 355.3 kB / 357.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01011, allocations: 0 / 357.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003344/0.01045, allocations: 407.7 kB / 358.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.0105, allocations: 97.09 kB / 358.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01051, allocations: 3.984 kB / 358.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01052, allocations: 4 kB / 358.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.01061, allocations: 31.86 kB / 358.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.01062, allocations: 4 kB / 358.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01073, allocations: 24.09 kB / 358.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.01075, allocations: 20 kB / 358.3 MB, free: 14.02 MB / 298.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.0002045/0.01096, allocations: 280.2 kB / 358.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.01102, allocations: 43.81 kB / 358.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.01128, allocations: 226.6 kB / 358.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01128, allocations: 0 / 358.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.01129, allocations: 7.938 kB / 358.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01129, allocations: 3.984 kB / 358.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.01147, allocations: 208.5 kB / 359 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01147, allocations: 8 kB / 359 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.0115, allocations: 4 kB / 359 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.0115, allocations: 4 kB / 359 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.01152, allocations: 8 kB / 359 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01152, allocations: 4 kB / 359.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01153, allocations: 0 / 359.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.01193, allocations: 0.5382 MB / 359.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.01196, allocations: 27.78 kB / 359.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.01199, allocations: 12 kB / 359.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.01206, allocations: 19.98 kB / 359.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.01212, allocations: 27.91 kB / 359.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.01214, allocations: 15.98 kB / 359.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.01228, allocations: 213.1 kB / 359.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01228, allocations: 0 / 359.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.01252, allocations: 60 kB / 360 MB, free: 12.19 MB / 298.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.0008994/0.01342, allocations: 407.6 kB / 360.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.01381, allocations: 0.4999 MB / 360.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01381, allocations: 0 / 360.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.014, allocations: 362.7 kB / 361.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.01426, allocations: 73.23 kB / 361.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.01489, allocations: 0.514 MB / 361.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.043e-05/0.01494, allocations: 83.97 kB / 361.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.01499, allocations: 17.64 kB / 361.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.01504, allocations: 32.48 kB / 361.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01504, allocations: 0 / 361.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Templates: time 0.005822/0.02086, allocations: 3.625 MB / 365.6 MB, free: 6.484 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/OnDelay/OnDelay.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4308032649569213]