Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001612/0.001612, 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.001663/0.001663, allocations: 209.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.562/1.562, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.697e-05, allocations: 2.281 kB / 378.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003375/0.003402, allocations: 1.829 MB / 380.8 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.004755, allocations: 0.6585 MB / 381.4 MB, free: 4 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.203/0.2078, allocations: 6.828 kB / 381.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.208, allocations: 16.64 kB / 381.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.2082, allocations: 31.2 kB / 381.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.2087, allocations: 107.9 kB / 381.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.209, allocations: 187 kB / 381.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.2092, allocations: 51.05 kB / 381.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2094, allocations: 77.31 kB / 381.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2095, allocations: 51.55 kB / 381.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.2095, allocations: 9.812 kB / 382 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.2096, allocations: 20.47 kB / 382 MB, free: 13.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002209/0.2098, allocations: 252.8 kB / 382.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001123/0.2099, allocations: 177 kB / 382.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.21, allocations: 9.312 kB / 382.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.169e-05/0.21, allocations: 7.188 kB / 382.4 MB, free: 13.32 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.0007319/0.2108, allocations: 0.657 MB / 383.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001192/0.2109, allocations: 75.3 kB / 383.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003194/0.2112, allocations: 297.2 kB / 383.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001113/0.2113, allocations: 95.42 kB / 383.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0009188/0.2122, allocations: 0.6075 MB / 384.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.994e-05/0.2123, allocations: 84.45 kB / 384.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.501e-05/0.2123, allocations: 47.5 kB / 384.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 8.201e-05/0.2124, allocations: 100.2 kB / 384.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.673e-05/0.2125, allocations: 36.67 kB / 384.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002176/0.2127, allocations: 153 kB / 384.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002888/0.213, allocations: 192.1 kB / 384.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001352/0.2131, allocations: 151.5 kB / 384.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002043/0.2133, allocations: 162.6 kB / 385 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001714/0.2135, allocations: 198.3 kB / 385.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.31e-05/0.2135, allocations: 11.92 kB / 385.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.08e-05/0.2136, allocations: 28.39 kB / 385.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001806/0.2137, allocations: 111.5 kB / 385.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.328e-05/0.2138, allocations: 4.969 kB / 385.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.163e-06/0.2138, allocations: 0.625 kB / 385.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.228e-06/0.2138, allocations: 0.875 kB / 385.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.099e-06/0.2138, allocations: 10.28 kB / 385.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.979e-06/0.2138, allocations: 10.16 kB / 385.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001362/0.2139, allocations: 88.58 kB / 385.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.173e-06/0.2139, allocations: 0 / 385.5 MB, free: 11.39 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: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$SEV_2, $SEV_1, $SEV_0, $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: ........... 7 (scalar:7, 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.588e-05/0.214, allocations: 19.66 kB / 385.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007917/0.2147, allocations: 479.6 kB / 386 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Templates: time 0.004173/0.2189, allocations: 1.061 MB / 387 MB, free: 11.03 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.567624154966325]