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.002159/0.002159, 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.002419/0.002419, allocations: 211 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.64/1.64, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.38e-05/2.38e-05, allocations: 5.234 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003201/0.003225, allocations: 1.513 MB / 380.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000453/0.003678, allocations: 143.5 kB / 380.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.00376, allocations: 4 kB / 380.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.003811, allocations: 3.938 kB / 380.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.003939, allocations: 3.938 kB / 380.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.004199, allocations: 37.77 kB / 380.7 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.004317, allocations: 31.92 kB / 380.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.00445, allocations: 11.98 kB / 380.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.004494, allocations: 15.94 kB / 380.8 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.004598, allocations: 15.86 kB / 380.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.004619, allocations: 7.984 kB / 380.8 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.004631, allocations: 0 / 380.8 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001089/0.00474, allocations: 71.17 kB / 380.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.304e-05/0.004783, allocations: 55.25 kB / 381 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.004797, allocations: 0 / 381 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.382e-05/0.00482, allocations: 3.984 kB / 381 MB, free: 0.5078 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.0006252/0.005446, allocations: 284.9 kB / 381.2 MB, free: 112 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.327e-05/0.005509, allocations: 39.97 kB / 381.3 MB, free: 60 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.2269/0.2324, allocations: 86.56 kB / 381.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001948/0.2326, allocations: 58.66 kB / 381.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000914/0.2335, allocations: 191.6 kB / 381.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.361e-05/0.2336, allocations: 62.86 kB / 381.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.508e-05/0.2337, allocations: 37.56 kB / 381.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001439/0.2338, allocations: 88.45 kB / 381.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001243/0.2339, allocations: 18.86 kB / 381.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001996/0.2341, allocations: 46.94 kB / 381.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001643/0.2343, allocations: 59.86 kB / 381.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.009e-05/0.2344, allocations: 36 kB / 381.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000146/0.2345, allocations: 99.86 kB / 382 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.595e-05/0.2346, allocations: 54.12 kB / 382.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.021e-05/0.2346, allocations: 9.812 kB / 382.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.793e-05/0.2346, allocations: 12.77 kB / 382.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001177/0.2347, allocations: 43.75 kB / 382.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.321e-05/0.2347, allocations: 0.7188 kB / 382.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.452e-06/0.2347, allocations: 1.375 kB / 382.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.701e-05/0.2348, allocations: 14.66 kB / 382.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.625e-06/0.2348, allocations: 5.125 kB / 382.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.037e-06/0.2348, allocations: 4.375 kB / 382.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.728e-06/0.2348, allocations: 2.75 kB / 382.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.03e-05/0.2348, allocations: 14.09 kB / 382.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.123e-05/0.2349, allocations: 0.75 kB / 382.2 MB, free: 12.44 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 6.085e-05/0.2349, allocations: 37.11 kB / 382.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006026/0.2355, allocations: 224.9 kB / 382.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Templates: time 0.002933/0.2385, allocations: 286.4 kB / 382.7 MB, free: 12.24 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/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: 5.013360801967792]