Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001777/0.001777, 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.002114/0.002114, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.573e-05, allocations: 2.281 kB / 378.9 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003286/0.003312, allocations: 1.713 MB / 380.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005101/0.003822, allocations: 155.4 kB / 380.8 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.003923, allocations: 3.938 kB / 380.8 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.96e-05/0.003983, allocations: 11.92 kB / 380.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.004148, allocations: 7.875 kB / 380.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.004425, allocations: 39.89 kB / 380.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.004573, allocations: 71.83 kB / 380.9 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.004718, allocations: 31.95 kB / 381 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.004775, allocations: 31.86 kB / 381 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.004839, allocations: 27.8 kB / 381 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.004861, allocations: 4 kB / 381 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.004876, allocations: 4 kB / 381 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001329/0.005009, allocations: 134.4 kB / 381.2 MB, free: 380 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.65e-05/0.005075, allocations: 90.8 kB / 381.2 MB, free: 288 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.005092, allocations: 4 kB / 381.3 MB, free: 284 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.131e-05/0.005113, allocations: 0 / 381.3 MB, free: 284 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 (12) * Number of variables: 12 (12) Notification: Performance of [SIM] Bindings: time 0.2426/0.2477, allocations: 423.2 kB / 381.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.489e-05/0.2478, allocations: 51.92 kB / 381.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001369/0.2479, allocations: 153.9 kB / 381.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.648e-05/0.248, allocations: 82.66 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005517/0.2486, allocations: 415 kB / 382.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.593e-05/0.2486, allocations: 71.67 kB / 382.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.672e-05/0.2486, allocations: 40.66 kB / 382.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 5.762e-05/0.2487, allocations: 84.03 kB / 382.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of [SIM] Events: time 4.613e-05/0.2487, allocations: 20.31 kB / 382.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001206/0.2489, allocations: 82.73 kB / 382.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001621/0.249, allocations: 117.5 kB / 382.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.9e-05/0.2491, allocations: 72.95 kB / 382.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001001/0.2492, allocations: 111 kB / 382.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.267e-05/0.2493, allocations: 88.25 kB / 383 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.191e-06/0.2493, allocations: 9.828 kB / 383 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.331e-05/0.2493, allocations: 13.78 kB / 383 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 9.921e-05/0.2494, allocations: 61.95 kB / 383.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 5.24e-06/0.2494, allocations: 3 kB / 383.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.3e-07/0.2494, allocations: 0.625 kB / 383.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.544e-06/0.2494, allocations: 1.734 kB / 383.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.256e-06/0.2494, allocations: 6.688 kB / 383.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.24e-06/0.2494, allocations: 8.5 kB / 383.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.891e-05/0.2495, allocations: 34.52 kB / 383.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 3.065e-06/0.2495, allocations: 0 / 383.2 MB, free: 12.25 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ........... 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: ........... 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: Performance of backend: time 3.207e-05/0.2495, allocations: 22.72 kB / 383.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 0.0003562/0.2499, allocations: 302 kB / 383.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Templates: time 0.002444/0.2523, allocations: 466 kB / 383.9 MB, free: 12.02 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,sample2.y,hold1.y Variables in the result:gain.k,hold1.y,hold1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,sample2.y,step.height,step.offset,step.startTime,time [Calling sys.exit(0), Time elapsed: 5.2520992062054574]