Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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: 99.59 kB / 21.2 MB, free: 0.6406 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.00195/0.00195, allocations: 218.7 kB / 24.5 MB, free: 3.926 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.566/1.566, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.233e-05, allocations: 5.516 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003377/0.003409, allocations: 1.611 MB / 380.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.004674, allocations: 0.5337 MB / 381.1 MB, free: 360 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.004803, allocations: 7.938 kB / 381.1 MB, free: 352 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.913e-05/0.004862, allocations: 7.922 kB / 381.1 MB, free: 344 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.005025, allocations: 15.88 kB / 381.1 MB, free: 328 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.00539, allocations: 63.75 kB / 381.2 MB, free: 264 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.005556, allocations: 79.75 kB / 381.3 MB, free: 184 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.005687, allocations: 19.97 kB / 381.3 MB, free: 164 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.005858, allocations: 43.86 kB / 381.3 MB, free: 120 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.005929, allocations: 27.84 kB / 381.3 MB, free: 92 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.005944, allocations: 0 / 381.3 MB, free: 92 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.683e-05/0.005991, allocations: 11.98 kB / 381.4 MB, free: 80 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.2064/0.2124, allocations: 119.4 kB / 381.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.792e-05/0.2124, allocations: 88.88 kB / 381.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2125, allocations: 4.156 kB / 381.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.374e-05/0.2125, allocations: 2.234 kB / 381.6 MB, free: 13.09 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.000575/0.2131, allocations: 401.7 kB / 382 MB, free: 12.77 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001119/0.2132, allocations: 49.25 kB / 382 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002152/0.2134, allocations: 154.8 kB / 382.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 6.385e-05/0.2135, allocations: 74.3 kB / 382.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005872/0.2141, allocations: 329.2 kB / 382.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.51e-05/0.2141, allocations: 72.05 kB / 382.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.761e-05/0.2142, allocations: 41.56 kB / 382.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 7.303e-05/0.2142, allocations: 86.23 kB / 382.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.847e-05/0.2143, allocations: 12.61 kB / 382.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002111/0.2145, allocations: 102.2 kB / 382.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000162/0.2147, allocations: 97.73 kB / 383 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 7.577e-05/0.2148, allocations: 70.47 kB / 383 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000122/0.2149, allocations: 120.1 kB / 383.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [INI] Inline: time 9.922e-05/0.215, allocations: 107.9 kB / 383.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.313e-06/0.215, allocations: 9.25 kB / 383.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.161e-05/0.215, allocations: 22.28 kB / 383.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 9.755e-05/0.2151, allocations: 40.16 kB / 383.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.228e-05/0.2151, allocations: 1.438 kB / 383.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.2151, allocations: 0 / 383.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.972e-06/0.2151, allocations: 4.594 kB / 383.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.356e-06/0.2151, allocations: 7.156 kB / 383.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.488e-06/0.2151, allocations: 0.875 kB / 383.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 8.892e-05/0.2152, allocations: 45.16 kB / 383.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.466e-06/0.2152, allocations: 3.5 kB / 383.4 MB, free: 11.82 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: ......... 1 * 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: ................. 1 (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: ........... 2 (scalar:2, 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: ........... 2 (scalar:2, 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.937e-05/0.2153, allocations: 20.34 kB / 383.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006668/0.2159, allocations: 297.5 kB / 383.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Templates: time 0.008899/0.2248, allocations: 489.8 kB / 384.2 MB, free: 11.59 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,shiftSample1.y,hold1.y Variables in the result:hold1.y,hold1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,shiftSample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time [Calling sys.exit(0), Time elapsed: 4.56055825157091]