Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001481/0.001481, 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.001599/0.001599, allocations: 217.1 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.44e-05, allocations: 2.281 kB / 378.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.003043/0.003067, allocations: 1.617 MB / 380.5 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004805/0.003548, allocations: 179.3 kB / 380.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.003629, allocations: 8 kB / 380.7 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.574e-05/0.003725, allocations: 15.8 kB / 380.7 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.003852, allocations: 11.92 kB / 380.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.004088, allocations: 51.83 kB / 380.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.004248, allocations: 83.81 kB / 380.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.004436, allocations: 35.89 kB / 380.9 MB, free: 488 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.00451, allocations: 39.86 kB / 381 MB, free: 448 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.00458, allocations: 35.72 kB / 381 MB, free: 412 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.004605, allocations: 8 kB / 381 MB, free: 404 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.004623, allocations: 4 kB / 381 MB, free: 400 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001698/0.004793, allocations: 146.3 kB / 381.2 MB, free: 252 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.724e-05/0.00487, allocations: 106.5 kB / 381.3 MB, free: 144 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.004889, allocations: 4 kB / 381.3 MB, free: 140 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-05/0.00491, allocations: 7.938 kB / 381.3 MB, free: 132 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: 14 (14) * Number of variables: 14 (12) Notification: Performance of [SIM] Bindings: time 0.1876/0.1925, allocations: 442.9 kB / 381.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000112/0.1926, allocations: 54.55 kB / 381.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001674/0.1928, allocations: 172 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.805e-05/0.1928, allocations: 89.78 kB / 382 MB, free: 12.91 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0006164/0.1935, allocations: 361.6 kB / 382.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.087e-05/0.1935, allocations: 75.48 kB / 382.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.064e-05/0.1936, allocations: 51.92 kB / 382.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 9.447e-05/0.1937, allocations: 103.5 kB / 382.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.651e-05/0.1937, allocations: 15.94 kB / 382.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001724/0.1939, allocations: 92.55 kB / 382.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002626/0.1942, allocations: 168.4 kB / 382.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 8.266e-05/0.1942, allocations: 100.5 kB / 383 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000152/0.1944, allocations: 132.5 kB / 383.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001089/0.1945, allocations: 116.5 kB / 383.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.877e-06/0.1945, allocations: 13.47 kB / 383.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.079e-05/0.1945, allocations: 20.52 kB / 383.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001165/0.1946, allocations: 67.34 kB / 383.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.165e-05/0.1947, allocations: 3.875 kB / 383.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.72e-07/0.1947, allocations: 0.875 kB / 383.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.318e-06/0.1947, allocations: 1.812 kB / 383.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.723e-06/0.1947, allocations: 10.34 kB / 383.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.696e-06/0.1947, allocations: 1.875 kB / 383.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001103/0.1948, allocations: 53.23 kB / 383.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.885e-06/0.1948, allocations: 7.156 kB / 383.4 MB, free: 12.14 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: ......... 2 * 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: ................. 11 (9) {sample1.u, sample1.y, hold1.u, hold1.y, sample2.y, sum1.u, sum1.y, sum2.u, $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: ........... 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, 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.377e-05/0.1948, allocations: 12.16 kB / 383.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of SimCode: time 0.000601/0.1954, allocations: 388.9 kB / 383.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Templates: time 0.003311/0.1987, allocations: 0.6334 MB / 384.4 MB, free: 11.86 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,sample2.y,hold1.y Variables in the result:hold1.y,hold1.y_start,integerConstant.k,integerConstant.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,sample2.y,step.height,step.offset,step.startTime,sum1.k[1],sum1.k[2],sum2.k[1],sum2.k[2],time [Calling sys.exit(0), Time elapsed: 4.393251265864819]