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.001263/0.001263, allocations: 80.8 kB / 21.5 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.001056/0.001056, allocations: 173.4 kB / 24.91 MB, free: 8.766 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.9489/0.9489, allocations: 177.1 MB / 205.3 MB, free: 5.129 MB / 186.7 MB " [Timeout remaining time 179] 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.2692/0.2692, allocations: 34.26 MB / 296.1 MB, free: 0.6914 MB / 266.7 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 1.543e-06/1.543e-06, allocations: 0 / 325.3 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.725e-05, allocations: 5.453 kB / 325.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.005727/0.005744, allocations: 1.979 MB / 327.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.00728, allocations: 1.177 MB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.01038, allocations: 0 / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.01092, allocations: 183.4 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.01121, allocations: 183.1 kB / 328.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.0115, allocations: 159.5 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.01177, allocations: 291.7 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.01185, allocations: 22.39 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.01201, allocations: 155.7 kB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.01214, allocations: 107.7 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.01217, allocations: 16 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.0123, allocations: 67.95 kB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.01236, allocations: 63.81 kB / 329.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.01243, allocations: 71.77 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.01268, allocations: 231.1 kB / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.01268, allocations: 0 / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.44e-06/0.01269, allocations: 0 / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.01269, allocations: 4 kB / 329.9 MB, free: 3.016 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.0005523/0.01325, allocations: 0.5621 MB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003043/0.01629, allocations: 8.031 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.01635, allocations: 36.91 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.01659, allocations: 209.5 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.029e-05/0.01668, allocations: 170.8 kB / 330.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.0167, allocations: 16.38 kB / 330.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.01692, allocations: 224.3 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.01693, allocations: 4 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.01694, allocations: 8 kB / 331.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.01695, allocations: 4 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.01705, allocations: 131.9 kB / 331.3 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.01749, allocations: 422 kB / 331.7 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.01767, allocations: 247.6 kB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.114e-05/0.01775, allocations: 131.7 kB / 332.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.01776, allocations: 7.984 kB / 332.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.01804, allocations: 0.4957 MB / 332.6 MB, free: 8 kB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.172e-06/0.01804, allocations: 0 / 332.6 MB, free: 8 kB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003776/0.01842, allocations: 475.6 kB / 333.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.01848, allocations: 187.9 kB / 333.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.01867, allocations: 258.6 kB / 333.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01869, allocations: 37.69 kB / 333.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.01874, allocations: 109.1 kB / 333.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.01878, allocations: 59.56 kB / 333.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.01884, allocations: 49.67 kB / 333.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.01893, allocations: 346.7 kB / 334.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.019, allocations: 111.9 kB / 334.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01912, allocations: 216.2 kB / 334.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.01932, allocations: 330.8 kB / 334.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.01933, allocations: 0 / 334.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002547/0.01958, allocations: 338.5 kB / 335.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.01963, allocations: 95.44 kB / 335.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01964, allocations: 4 kB / 335.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01965, allocations: 4 kB / 335.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.01972, allocations: 28.08 kB / 335.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.01973, allocations: 8 kB / 335.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.041e-05/0.01982, allocations: 31.81 kB / 335.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.01983, allocations: 8 kB / 335.2 MB, free: 13.02 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.0001354/0.01997, allocations: 236.3 kB / 335.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.02001, allocations: 35.97 kB / 335.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.02018, allocations: 167 kB / 335.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.02018, allocations: 0 / 335.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.02018, allocations: 11.98 kB / 335.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.02019, allocations: 7.922 kB / 335.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.02033, allocations: 133.7 kB / 335.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.02033, allocations: 0 / 335.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.02036, allocations: 8 kB / 335.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.02036, allocations: 0 / 335.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.02038, allocations: 15.98 kB / 335.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.02038, allocations: 3.938 kB / 335.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.02038, allocations: 0 / 335.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.02068, allocations: 419.7 kB / 336.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.02071, allocations: 27.8 kB / 336.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.02074, allocations: 16 kB / 336.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.02081, allocations: 19.98 kB / 336.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.02087, allocations: 27.91 kB / 336.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.02089, allocations: 12 kB / 336.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.188e-05/0.02098, allocations: 89.61 kB / 336.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02098, allocations: 0 / 336.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.02123, allocations: 71.86 kB / 336.5 MB, free: 11.61 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.001223/0.02245, allocations: 0.5194 MB / 337 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.02278, allocations: 489 kB / 337.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.02278, allocations: 4 kB / 337.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.02297, allocations: 344 kB / 337.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.02317, allocations: 64.12 kB / 337.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.02371, allocations: 0.4908 MB / 338.4 MB, free: 9.785 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.716e-05/0.02377, allocations: 99.91 kB / 338.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.02383, allocations: 25.92 kB / 338.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.02399, allocations: 123.3 kB / 338.6 MB, free: 9.52 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02399, allocations: 0 / 338.6 MB, free: 9.52 MB / 314.7 MB Notification: Performance of Templates: time 0.006119/0.03011, allocations: 3.866 MB / 342.5 MB, free: 5.715 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 240] 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","",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.008170641027391]