Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001638/0.001638, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001979/0.001979, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.759/1.759, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.633e-05, allocations: 2.281 kB / 379.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003266/0.003292, allocations: 1.501 MB / 380.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.004211, allocations: 411 kB / 381 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.004289, allocations: 4 kB / 381 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.004319, allocations: 3.938 kB / 381 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.061e-05/0.0044, allocations: 7.922 kB / 381 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.00469, allocations: 27.91 kB / 381 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.004805, allocations: 39.92 kB / 381 MB, free: 472 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.004931, allocations: 15.98 kB / 381.1 MB, free: 456 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.004988, allocations: 19.86 kB / 381.1 MB, free: 436 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.005031, allocations: 15.94 kB / 381.1 MB, free: 420 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.005048, allocations: 0 / 381.1 MB, free: 420 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.00506, allocations: 4 kB / 381.1 MB, free: 416 kB / 302.1 MB Notification: Performance of combineBinaries: time 9.884e-05/0.005159, allocations: 71.23 kB / 381.2 MB, free: 344 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.255e-05/0.005201, allocations: 55.25 kB / 381.2 MB, free: 288 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.005225, allocations: 4 kB / 381.2 MB, free: 284 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-05/0.005239, allocations: 4 kB / 381.2 MB, free: 280 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: 4 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.2621/0.2674, allocations: 297.9 kB / 381.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.181e-05/0.2675, allocations: 34.44 kB / 381.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001227/0.2676, allocations: 109.6 kB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001205/0.2677, allocations: 77.27 kB / 381.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005749/0.2683, allocations: 201.9 kB / 381.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.163e-05/0.2683, allocations: 71.2 kB / 382 MB, free: 12.73 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.468e-05/0.2684, allocations: 42.44 kB / 382 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001693/0.2685, allocations: 91.78 kB / 382.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.051e-05/0.2686, allocations: 22.94 kB / 382.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001498/0.2688, allocations: 57.77 kB / 382.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001861/0.269, allocations: 92.61 kB / 382.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 8.527e-05/0.269, allocations: 85.75 kB / 382.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000108/0.2691, allocations: 106.5 kB / 382.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.083e-05/0.2692, allocations: 80.83 kB / 382.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.213e-06/0.2692, allocations: 11.12 kB / 382.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.143e-05/0.2692, allocations: 12.59 kB / 382.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 1.079e-05/0.2693, allocations: 2 kB / 382.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.341e-06/0.2693, allocations: 0.75 kB / 382.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.9e-07/0.2693, allocations: 1.781 kB / 382.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.409e-06/0.2693, allocations: 1.281 kB / 382.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.627e-06/0.2693, allocations: 0 / 382.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.286e-06/0.2693, allocations: 6.594 kB / 382.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.842e-06/0.2693, allocations: 1.031 kB / 382.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 9.846e-05/0.2694, allocations: 42.73 kB / 382.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.103e-06/0.2694, allocations: 4 kB / 382.6 MB, free: 12.35 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: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 0 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {assignClock1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock1.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, 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: ........... 0 (scalar:0, 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 4.435e-05/0.2694, allocations: 16.72 kB / 382.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004945/0.2699, allocations: 208.3 kB / 382.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Templates: time 0.003165/0.2731, allocations: 0.4986 MB / 383.4 MB, free: 12.17 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.y,periodicClock1.period,periodicClock1.useSolver,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time [Calling sys.exit(0), Time elapsed: 5.020011496031657]