Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001407/0.001407, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001568/0.001568, allocations: 207.2 kB / 24.55 MB, free: 3.727 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.559/1.559, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.337e-05, allocations: 2.281 kB / 379.1 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003029/0.003052, allocations: 1.504 MB / 380.6 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009034/0.003956, allocations: 446.9 kB / 381 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.004018, allocations: 3.938 kB / 381 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.004043, allocations: 3.984 kB / 381 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.004114, allocations: 11.88 kB / 381 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.004377, allocations: 31.91 kB / 381 MB, free: 496 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.436e-05/0.004472, allocations: 47.84 kB / 381.1 MB, free: 448 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.004559, allocations: 8 kB / 381.1 MB, free: 440 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.004694, allocations: 31.84 kB / 381.1 MB, free: 408 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.004739, allocations: 15.92 kB / 381.1 MB, free: 392 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.004756, allocations: 4 kB / 381.2 MB, free: 388 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.561e-05/0.004791, allocations: 4 kB / 381.2 MB, free: 384 kB / 302.1 MB Notification: Performance of combineBinaries: time 8.595e-05/0.004877, allocations: 75.11 kB / 381.2 MB, free: 308 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.424e-05/0.004922, allocations: 55.3 kB / 381.3 MB, free: 252 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.00494, allocations: 4 kB / 381.3 MB, free: 248 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.154e-05/0.004952, allocations: 4 kB / 381.3 MB, free: 244 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.2264/0.2314, allocations: 318.6 kB / 381.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.646e-05/0.2315, allocations: 38.98 kB / 381.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001829/0.2316, allocations: 121.8 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 6.71e-05/0.2317, allocations: 69.33 kB / 381.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004418/0.2322, allocations: 197 kB / 382 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.262e-05/0.2322, allocations: 72.3 kB / 382.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.005e-05/0.2322, allocations: 44.59 kB / 382.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001374/0.2324, allocations: 95.91 kB / 382.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.329e-05/0.2324, allocations: 12.03 kB / 382.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001334/0.2326, allocations: 53.44 kB / 382.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001588/0.2327, allocations: 77.55 kB / 382.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 7.379e-05/0.2328, allocations: 70.83 kB / 382.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 9.765e-05/0.2329, allocations: 109.7 kB / 382.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.109e-05/0.233, allocations: 78.48 kB / 382.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.172e-06/0.233, allocations: 9.156 kB / 382.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.564e-05/0.233, allocations: 8.609 kB / 382.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 7.975e-06/0.233, allocations: 1.25 kB / 382.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.391e-06/0.233, allocations: 0.5625 kB / 382.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.022e-06/0.233, allocations: 2.781 kB / 382.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.703e-06/0.233, allocations: 0 / 382.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.95e-06/0.233, allocations: 1.125 kB / 382.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.925e-06/0.233, allocations: 8.594 kB / 382.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.815e-06/0.233, allocations: 3.391 kB / 382.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 8.846e-05/0.2331, allocations: 39.14 kB / 382.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.212e-06/0.2331, allocations: 4.75 kB / 382.7 MB, free: 12.32 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: ................. 2 (2) {$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 3.767e-05/0.2332, allocations: 31.44 kB / 382.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005219/0.2337, allocations: 203.9 kB / 382.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Templates: time 0.003331/0.237, allocations: 455.4 kB / 383.4 MB, free: 12.14 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time [Calling sys.exit(0), Time elapsed: 4.749284994031768]