Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001325/0.001325, 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.001412/0.001412, allocations: 217.2 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.523/1.523, 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.47e-05, allocations: 2.281 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002999/0.003024, allocations: 1.572 MB / 380.5 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003225/0.003346, allocations: 143.4 kB / 380.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.003387, allocations: 4 kB / 380.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.003412, allocations: 3.938 kB / 380.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.683e-05/0.003479, allocations: 11.92 kB / 380.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.003632, allocations: 27.91 kB / 380.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.003711, allocations: 43.91 kB / 380.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.003776, allocations: 19.97 kB / 380.8 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/0.003805, allocations: 11.94 kB / 380.8 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.003844, allocations: 23.8 kB / 380.8 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.003856, allocations: 4 kB / 380.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-06/0.003863, allocations: 4 kB / 380.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of combineBinaries: time 7.684e-05/0.00394, allocations: 83 kB / 380.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.44e-05/0.003984, allocations: 63.16 kB / 380.9 MB, free: 484 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.004001, allocations: 0 / 380.9 MB, free: 484 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.518e-05/0.004016, allocations: 4 kB / 380.9 MB, free: 480 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0005848/0.004601, allocations: 324.5 kB / 381.3 MB, free: 32 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.2405/0.2451, allocations: 28.03 kB / 381.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001551/0.2453, allocations: 95.81 kB / 381.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.354e-05/0.2454, allocations: 67.84 kB / 381.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005359/0.2459, allocations: 235.5 kB / 381.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.599e-05/0.246, allocations: 69.98 kB / 381.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.651e-05/0.246, allocations: 40.72 kB / 381.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001443/0.2461, allocations: 92.95 kB / 381.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.694e-05/0.2462, allocations: 10.83 kB / 381.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.00012/0.2463, allocations: 53.75 kB / 381.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001357/0.2465, allocations: 65.94 kB / 382 MB, free: 12.56 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.499e-05/0.2465, allocations: 43.39 kB / 382.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001081/0.2466, allocations: 109.2 kB / 382.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [INI] Inline: time 5.003e-05/0.2467, allocations: 55.14 kB / 382.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.855e-06/0.2467, allocations: 17.41 kB / 382.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.578e-05/0.2467, allocations: 12.39 kB / 382.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001856/0.2469, allocations: 87.42 kB / 382.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.405e-05/0.2469, allocations: 2.594 kB / 382.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.2469, allocations: 0.7812 kB / 382.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.94e-06/0.2469, allocations: 0.625 kB / 382.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.538e-06/0.2469, allocations: 6.344 kB / 382.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.442e-06/0.2469, allocations: 0.7812 kB / 382.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.921e-05/0.247, allocations: 21.2 kB / 382.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.996e-06/0.247, allocations: 1.594 kB / 382.4 MB, free: 12.36 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: .................... 1 (1) {assignClock.y} * 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: ........... 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 4.119e-05/0.247, allocations: 27.83 kB / 382.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004834/0.2475, allocations: 250.7 kB / 382.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Templates: time 0.00273/0.2502, allocations: 350.1 kB / 383 MB, free: 12.17 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:assignClock.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,step.height,step.offset,step.startTime,time [Calling sys.exit(0), Time elapsed: 5.330534803215414]