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.001912/0.001912, 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.00227/0.00227, allocations: 212.5 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.555/1.555, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.208e-05/2.208e-05, allocations: 2.281 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.003378/0.0034, allocations: 1.618 MB / 380.7 MB, free: 0.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005644/0.003964, allocations: 175.4 kB / 380.8 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.00406, allocations: 7.938 kB / 380.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.00417, allocations: 15.86 kB / 380.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.004306, allocations: 11.92 kB / 380.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.004571, allocations: 52.34 kB / 380.9 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.004737, allocations: 79.8 kB / 381 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.004899, allocations: 39.91 kB / 381 MB, free: 468 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.004963, allocations: 35.84 kB / 381.1 MB, free: 432 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.005032, allocations: 31.78 kB / 381.1 MB, free: 400 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.005061, allocations: 8 kB / 381.1 MB, free: 392 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.005077, allocations: 4 kB / 381.1 MB, free: 388 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001568/0.005234, allocations: 146.3 kB / 381.3 MB, free: 240 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.835e-05/0.005313, allocations: 106.5 kB / 381.4 MB, free: 132 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.005338, allocations: 11.94 kB / 381.4 MB, free: 120 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.517e-05/0.005373, allocations: 7.938 kB / 381.4 MB, free: 112 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.2371/0.2425, allocations: 440.2 kB / 381.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001292/0.2426, allocations: 54.66 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001808/0.2428, allocations: 168.5 kB / 382 MB, free: 12.99 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001145/0.2429, allocations: 86.22 kB / 382.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007798/0.2437, allocations: 368.7 kB / 382.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.415e-05/0.2438, allocations: 74.84 kB / 382.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.975e-05/0.2438, allocations: 49.53 kB / 382.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001332/0.244, allocations: 104.2 kB / 382.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.157e-05/0.244, allocations: 22.36 kB / 382.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001915/0.2442, allocations: 93.45 kB / 382.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002981/0.2445, allocations: 165.7 kB / 383 MB, free: 12.33 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001176/0.2446, allocations: 99.31 kB / 383.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002084/0.2449, allocations: 132.4 kB / 383.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001429/0.245, allocations: 115.2 kB / 383.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.014e-05/0.245, allocations: 11.05 kB / 383.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.793e-05/0.245, allocations: 22.45 kB / 383.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001277/0.2452, allocations: 66.31 kB / 383.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.237e-05/0.2452, allocations: 1.562 kB / 383.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.7e-07/0.2452, allocations: 0 / 383.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.866e-05/0.2452, allocations: 27.31 kB / 383.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.199e-06/0.2452, allocations: 1.125 kB / 383.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.048e-06/0.2452, allocations: 5.719 kB / 383.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.196e-05/0.2452, allocations: 5.125 kB / 383.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001143/0.2453, allocations: 46.91 kB / 383.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.957e-06/0.2453, allocations: 0 / 383.5 MB, free: 12.09 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 6.224e-05/0.2454, allocations: 28.03 kB / 383.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006747/0.2461, allocations: 392.4 kB / 383.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Templates: time 0.003416/0.2495, allocations: 0.5609 MB / 384.5 MB, free: 11.82 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample2/Sample2.csv","/var/lib/jenkins1/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.827963521995116]