Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001826/0.001826, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002159/0.002159, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.614/1.614, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.768e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003854/0.003882, allocations: 1.825 MB / 380.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.00533, allocations: 0.6642 MB / 381.4 MB, free: 24 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.005464, allocations: 7.938 kB / 381.4 MB, free: 16 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.199/0.2045, allocations: 22.53 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.2047, allocations: 23.55 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.2052, allocations: 106.3 kB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.2054, allocations: 187.4 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2056, allocations: 47.83 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.2058, allocations: 79.62 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.2059, allocations: 51.88 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2059, allocations: 9.312 kB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.344e-05/0.206, allocations: 19.98 kB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001667/0.2062, allocations: 257.1 kB / 382.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.665e-05/0.2062, allocations: 178.1 kB / 382.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.2063, allocations: 7.781 kB / 382.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.049e-05/0.2063, allocations: 13.19 kB / 382.4 MB, free: 12.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 (19) * Number of variables: 19 (19) Notification: Performance of [SIM] Bindings: time 0.0006094/0.2069, allocations: 0.6502 MB / 383.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001107/0.207, allocations: 77.73 kB / 383.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002773/0.2073, allocations: 306.4 kB / 383.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.957e-05/0.2074, allocations: 97.17 kB / 383.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008132/0.2082, allocations: 0.6142 MB / 384.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.772e-05/0.2083, allocations: 76.61 kB / 384.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.111e-05/0.2083, allocations: 49.77 kB / 384.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001258/0.2084, allocations: 115.2 kB / 384.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.491e-05/0.2085, allocations: 39.56 kB / 384.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002042/0.2087, allocations: 154.5 kB / 384.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002609/0.209, allocations: 215.5 kB / 384.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001202/0.2091, allocations: 159.5 kB / 384.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002152/0.2093, allocations: 174.3 kB / 385.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001546/0.2095, allocations: 204.3 kB / 385.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.028e-05/0.2095, allocations: 17.33 kB / 385.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.75e-05/0.2095, allocations: 28.09 kB / 385.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003074/0.2098, allocations: 186.9 kB / 385.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.297e-05/0.2098, allocations: 5.5 kB / 385.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.523e-06/0.2098, allocations: 2.406 kB / 385.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.35e-06/0.2098, allocations: 2.438 kB / 385.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.349e-06/0.2098, allocations: 6.25 kB / 385.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.498e-06/0.2098, allocations: 6.594 kB / 385.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.000141/0.21, allocations: 96.53 kB / 385.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.335e-06/0.21, allocations: 4 kB / 385.7 MB, free: 11.13 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 1 (1) {hold1.y3} * Number of discrete variables: ................. 5 (5) {$SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.435e-05/0.21, allocations: 19.23 kB / 385.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007436/0.2108, allocations: 484.2 kB / 386.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Templates: time 0.004242/0.215, allocations: 1.119 MB / 387.3 MB, free: 10.76 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,hold1.y,// shiftSample1.y Variables in the result:hold1.bits,hold1.compDelay.resolution,hold1.compDelay.shiftCounter,hold1.computationalDelay,hold1.hold1.y_start,hold1.limited,hold1.limiter.uMax,hold1.limiter.uMin,hold1.quantized,hold1.resolution,hold1.shiftCounter,hold1.y,hold1.yMax,hold1.yMin,hold1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time [Calling sys.exit(0), Time elapsed: 4.7207216480746865]