Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001352/0.001352, allocations: 107.6 kB / 21.2 MB, free: 0.6562 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.001508/0.001508, allocations: 205.1 kB / 24.49 MB, free: 3.949 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.184e-05, allocations: 2.281 kB / 378.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002972/0.002994, allocations: 1.52 MB / 380.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.003421, allocations: 139.5 kB / 380.6 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.003511, allocations: 4 kB / 380.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.003556, allocations: 3.938 kB / 380.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.003703, allocations: 7.938 kB / 380.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.003952, allocations: 35.89 kB / 380.6 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.004064, allocations: 39.91 kB / 380.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004182, allocations: 8 kB / 380.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.233e-05/0.004224, allocations: 19.92 kB / 380.7 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.004271, allocations: 15.81 kB / 380.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.004289, allocations: 0 / 380.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.004302, allocations: 4 kB / 380.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of combineBinaries: time 8.327e-05/0.004386, allocations: 71.16 kB / 380.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.487e-05/0.004431, allocations: 55.25 kB / 380.8 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.136e-05/0.004442, allocations: 0 / 380.8 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.911e-05/0.004461, allocations: 4 kB / 380.8 MB, free: 0.5938 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0004805/0.004942, allocations: 304.8 kB / 381.1 MB, free: 180 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.263e-05/0.005004, allocations: 27.98 kB / 381.2 MB, free: 140 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 9.777e-05/0.005102, allocations: 88.17 kB / 381.3 MB, free: 24 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.1944/0.1995, allocations: 59.62 kB / 381.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004161/0.1999, allocations: 189 kB / 381.5 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.139e-05/0.1999, allocations: 61.62 kB / 381.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 1.82e-05/0.2, allocations: 37.34 kB / 381.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 6.479e-05/0.2, allocations: 82.06 kB / 381.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.375e-05/0.2001, allocations: 18.08 kB / 381.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001084/0.2002, allocations: 49.61 kB / 381.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001004/0.2003, allocations: 59.45 kB / 381.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.61e-05/0.2003, allocations: 34.61 kB / 381.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 8.49e-05/0.2004, allocations: 104.8 kB / 381.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of [INI] Inline: time 4.265e-05/0.2005, allocations: 57.83 kB / 382 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.113e-06/0.2005, allocations: 9.938 kB / 382 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.273e-05/0.2005, allocations: 11.16 kB / 382 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 8.424e-05/0.2006, allocations: 42.16 kB / 382 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.061e-05/0.2006, allocations: 0.9375 kB / 382 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.01e-07/0.2006, allocations: 0 / 382 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.456e-06/0.2006, allocations: 1.031 kB / 382.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.535e-06/0.2006, allocations: 10.48 kB / 382.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.422e-06/0.2006, allocations: 1.672 kB / 382.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 4.887e-05/0.2006, allocations: 17.5 kB / 382.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.595e-06/0.2007, allocations: 1.688 kB / 382.1 MB, free: 12.48 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: ................. 3 (3) {step.y, sample1.y, $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.272e-05/0.2007, allocations: 25.7 kB / 382.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of SimCode: time 0.0003812/0.2011, allocations: 230.1 kB / 382.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of Templates: time 0.002418/0.2035, allocations: 300.7 kB / 382.6 MB, free: 12.3 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,step.height,step.offset,step.startTime,time [Calling sys.exit(0), Time elapsed: 4.339269946794957]