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.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.001031/0.001031, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.000976/0.000976, allocations: 169.9 kB / 24.91 MB, free: 9.188 MB / 18.57 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 0.9956/0.9956, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.237/0.237, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.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.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 1.583e-06/1.583e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.795e-05, allocations: 3.516 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.004146/0.004173, allocations: 1.977 MB / 325.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.006644, allocations: 1.171 MB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.006832, allocations: 4 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007442/0.007577, allocations: 179.4 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.008049, allocations: 175.2 kB / 326.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.00856, allocations: 159.5 kB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.009019, allocations: 287.9 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.009132, allocations: 22.41 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.00938, allocations: 159.6 kB / 327.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.009573, allocations: 99.75 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.009611, allocations: 20 kB / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.00982, allocations: 71.94 kB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.009897, allocations: 63.77 kB / 327.6 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.637e-05/0.009964, allocations: 71.83 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.01025, allocations: 231.1 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01025, allocations: 0 / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01025, allocations: 0 / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.01026, allocations: 3.938 kB / 327.9 MB, free: 4.977 MB / 298.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.0006763/0.01093, allocations: 0.5619 MB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.01097, allocations: 15.98 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.01102, allocations: 36.91 kB / 328.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.01127, allocations: 197.5 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.55e-05/0.01137, allocations: 178.7 kB / 328.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.01138, allocations: 16.38 kB / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.0116, allocations: 219.4 kB / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.01161, allocations: 0 / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.01162, allocations: 15.98 kB / 329.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.01163, allocations: 4 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/0.01173, allocations: 135.8 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.01219, allocations: 422 kB / 329.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.01239, allocations: 247.6 kB / 329.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.01247, allocations: 135.7 kB / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.01248, allocations: 0 / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.01277, allocations: 0.5009 MB / 330.6 MB, free: 1.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.01277, allocations: 4 kB / 330.6 MB, free: 1.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004355/0.01321, allocations: 472.7 kB / 331 MB, free: 1.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.01328, allocations: 195.9 kB / 331.2 MB, free: 1.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.01345, allocations: 254.6 kB / 331.5 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.01347, allocations: 33.7 kB / 331.5 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.01352, allocations: 109.1 kB / 331.6 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.01356, allocations: 55.56 kB / 331.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.01362, allocations: 53.67 kB / 331.7 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.0137, allocations: 338.7 kB / 332 MB, free: 340 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.01377, allocations: 127.8 kB / 332.2 MB, free: 192 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.01389, allocations: 220.2 kB / 332.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.01407, allocations: 319.4 kB / 332.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.01407, allocations: 4 kB / 332.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002376/0.01431, allocations: 338.8 kB / 333 MB, free: 15.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.01437, allocations: 101.1 kB / 333.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01437, allocations: 0 / 333.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.01438, allocations: 4 kB / 333.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.01446, allocations: 23.92 kB / 333.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.01446, allocations: 4 kB / 333.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.01454, allocations: 27.83 kB / 333.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.01455, allocations: 11.98 kB / 333.2 MB, free: 14.97 MB / 314.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.0001274/0.01468, allocations: 248.5 kB / 333.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.01472, allocations: 39.97 kB / 333.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.01487, allocations: 158.8 kB / 333.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01488, allocations: 7.938 kB / 333.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01488, allocations: 0 / 333.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.01489, allocations: 3.938 kB / 333.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.01503, allocations: 134.5 kB / 333.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01503, allocations: 4 kB / 333.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.01506, allocations: 4 kB / 333.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01506, allocations: 11.94 kB / 333.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01507, allocations: 4 kB / 333.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01507, allocations: 4 kB / 333.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01508, allocations: 0 / 333.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.01532, allocations: 418.5 kB / 334.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.01536, allocations: 27.81 kB / 334.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.01539, allocations: 11.98 kB / 334.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.01544, allocations: 16 kB / 334.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.0155, allocations: 19.97 kB / 334.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.01552, allocations: 19.98 kB / 334.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.988e-05/0.0156, allocations: 93.59 kB / 334.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0156, allocations: 4 kB / 334.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.01591, allocations: 71.88 kB / 334.5 MB, free: 13.57 MB / 314.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.001136/0.01704, allocations: 0.5207 MB / 335 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.01739, allocations: 493.4 kB / 335.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.0174, allocations: 8.062 kB / 335.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.01759, allocations: 344.9 kB / 335.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01781, allocations: 61.06 kB / 335.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.0185, allocations: 0.4904 MB / 336.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.457e-05/0.01855, allocations: 87.97 kB / 336.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.67e-05/0.01862, allocations: 34.39 kB / 336.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.01877, allocations: 123.3 kB / 336.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01877, allocations: 0 / 336.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of Templates: time 0.006976/0.02574, allocations: 3.864 MB / 340.5 MB, free: 7.668 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.0134184351190925]