Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001344/0.001344, 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.001423/0.001423, allocations: 215.5 kB / 24.5 MB, free: 3.93 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/2.909e-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.Sample1): time 0.003104/0.003133, allocations: 1.536 MB / 380.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004069/0.00354, allocations: 135.5 kB / 380.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.003616, allocations: 0 / 380.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.003668, allocations: 7.875 kB / 380.6 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.003804, allocations: 15.92 kB / 380.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.004048, allocations: 32.59 kB / 380.6 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.004168, allocations: 39.97 kB / 380.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.004285, allocations: 27.95 kB / 380.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.845e-05/0.004334, allocations: 19.86 kB / 380.7 MB, free: 0.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.004386, allocations: 15.88 kB / 380.7 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.004407, allocations: 4 kB / 380.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.004419, allocations: 0 / 380.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001126/0.004531, allocations: 83 kB / 380.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.795e-05/0.004579, allocations: 63.16 kB / 380.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.004597, allocations: 0 / 380.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.353e-05/0.00462, allocations: 4 kB / 380.9 MB, free: 0.5391 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0005539/0.005174, allocations: 308.9 kB / 381.2 MB, free: 120 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.411e-05/0.005228, allocations: 32.03 kB / 381.2 MB, free: 76 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.194/0.1992, allocations: 93.19 kB / 381.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.593e-05/0.1993, allocations: 66.94 kB / 381.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004248/0.1998, allocations: 239.9 kB / 381.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 3.769e-05/0.1998, allocations: 65.16 kB / 381.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 1.774e-05/0.1998, allocations: 38.86 kB / 381.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001146/0.1999, allocations: 93.67 kB / 381.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Events: time 5.887e-05/0.2, allocations: 17.92 kB / 381.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001031/0.2001, allocations: 55.2 kB / 381.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001108/0.2002, allocations: 68.42 kB / 382 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.733e-05/0.2002, allocations: 47.75 kB / 382 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 8.278e-05/0.2003, allocations: 107.2 kB / 382.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [INI] Inline: time 4.576e-05/0.2004, allocations: 55.19 kB / 382.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.942e-06/0.2004, allocations: 11 kB / 382.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.509e-05/0.2004, allocations: 14.69 kB / 382.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001664/0.2006, allocations: 87.81 kB / 382.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.668e-06/0.2006, allocations: 8.219 kB / 382.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.11e-07/0.2006, allocations: 1.219 kB / 382.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.417e-06/0.2006, allocations: 0 / 382.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.154e-06/0.2006, allocations: 1.562 kB / 382.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.991e-06/0.2006, allocations: 3.438 kB / 382.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 5.64e-05/0.2006, allocations: 28.23 kB / 382.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.432e-06/0.2006, allocations: 0 / 382.3 MB, free: 12.42 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: .................... 1 (1) {assignClock.y} * 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: ........... 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: Performance of backend: time 3.078e-05/0.2007, allocations: 22.05 kB / 382.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of SimCode: time 0.0003889/0.2011, allocations: 243.5 kB / 382.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Templates: time 0.002614/0.2037, allocations: 338.8 kB / 382.9 MB, free: 12.24 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:assignClock.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,step.height,step.offset,step.startTime,time [Calling sys.exit(0), Time elapsed: 4.326547289267182]