Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002631/0.002631, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 230.5 MB / 258.2 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.208e-05/4.208e-05, allocations: 4.25 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.003316/0.003358, allocations: 1.626 MB / 380.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005678/0.003926, allocations: 179.4 kB / 380.8 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004027, allocations: 3.938 kB / 380.8 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.004145, allocations: 11.86 kB / 380.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.004289, allocations: 19.86 kB / 380.9 MB, free: 496 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.004533, allocations: 47.89 kB / 380.9 MB, free: 448 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.004698, allocations: 87.8 kB / 381 MB, free: 360 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.004861, allocations: 35.91 kB / 381 MB, free: 324 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.004918, allocations: 31.86 kB / 381.1 MB, free: 292 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.004987, allocations: 31.78 kB / 381.1 MB, free: 260 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.005011, allocations: 4 kB / 381.1 MB, free: 256 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.005027, allocations: 4 kB / 381.1 MB, free: 252 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001589/0.005186, allocations: 154.3 kB / 381.3 MB, free: 96 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.2463/0.2515, allocations: 106.7 kB / 381.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.683e-05/0.2516, allocations: 4.875 kB / 381.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.019e-05/0.2517, allocations: 6.844 kB / 381.4 MB, free: 13.21 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: 14 (14) * Number of variables: 14 (12) Notification: Performance of [SIM] Bindings: time 0.0007408/0.2524, allocations: 442 kB / 381.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001226/0.2525, allocations: 57.81 kB / 381.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001966/0.2527, allocations: 171.1 kB / 382 MB, free: 12.84 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001174/0.2528, allocations: 80.02 kB / 382.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000795/0.2536, allocations: 370.2 kB / 382.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.174e-05/0.2537, allocations: 81.62 kB / 382.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.331e-05/0.2538, allocations: 42.34 kB / 382.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001236/0.2539, allocations: 102.3 kB / 382.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.512e-05/0.254, allocations: 18.88 kB / 382.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001897/0.2542, allocations: 93.39 kB / 382.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003207/0.2545, allocations: 161.6 kB / 383 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001286/0.2546, allocations: 99.03 kB / 383 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002077/0.2548, allocations: 133.2 kB / 383.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001297/0.255, allocations: 120.8 kB / 383.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.147e-05/0.255, allocations: 11.38 kB / 383.3 MB, free: 12 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.441e-05/0.255, allocations: 22.2 kB / 383.3 MB, free: 12 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001301/0.2551, allocations: 61.47 kB / 383.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.033e-05/0.2551, allocations: 1.062 kB / 383.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.2551, allocations: 0 / 383.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.249e-05/0.2552, allocations: 28.08 kB / 383.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.511e-06/0.2552, allocations: 6.047 kB / 383.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.505e-06/0.2552, allocations: 10.5 kB / 383.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.221e-05/0.2552, allocations: 2.938 kB / 383.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001389/0.2553, allocations: 45.08 kB / 383.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.071e-05/0.2553, allocations: 1.062 kB / 383.5 MB, free: 11.94 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 5.414e-05/0.2554, allocations: 29.27 kB / 383.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007258/0.2561, allocations: 382.2 kB / 383.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Templates: time 0.003574/0.2597, allocations: 0.5579 MB / 384.4 MB, free: 11.68 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.897092541970778]