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.001603/0.001603, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001681/0.001681, allocations: 212.7 kB / 24.55 MB, free: 3.727 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.578/1.578, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.654e-05/2.654e-05, allocations: 2.281 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003132/0.003158, allocations: 1.543 MB / 380.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004568/0.003615, allocations: 139.5 kB / 380.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.003697, allocations: 0 / 380.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.003748, allocations: 3.938 kB / 380.7 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.003879, allocations: 7.938 kB / 380.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.004135, allocations: 32.52 kB / 380.8 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.004244, allocations: 47.91 kB / 380.8 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004366, allocations: 15.98 kB / 380.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.004411, allocations: 19.91 kB / 380.8 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.004464, allocations: 19.86 kB / 380.9 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.004485, allocations: 7.938 kB / 380.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.004496, allocations: 0 / 380.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of combineBinaries: time 8.775e-05/0.004584, allocations: 79.02 kB / 380.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.746e-05/0.004631, allocations: 67.14 kB / 381 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.004646, allocations: 3.938 kB / 381 MB, free: 500 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.258e-05/0.004668, allocations: 8 kB / 381 MB, free: 492 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0005278/0.005196, allocations: 308.8 kB / 381.3 MB, free: 60 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.243e-05/0.005249, allocations: 28.03 kB / 381.4 MB, free: 20 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.2599/0.2652, allocations: 90.56 kB / 381.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001031/0.2653, allocations: 68.48 kB / 381.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005543/0.2658, allocations: 239.2 kB / 381.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.546e-05/0.2659, allocations: 65.94 kB / 381.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.084e-05/0.2659, allocations: 40.45 kB / 381.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001505/0.2661, allocations: 94.52 kB / 381.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.059e-05/0.2661, allocations: 12.81 kB / 382 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001257/0.2663, allocations: 52.92 kB / 382 MB, free: 12.66 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001285/0.2664, allocations: 68.69 kB / 382.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.337e-05/0.2664, allocations: 44.36 kB / 382.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 9.98e-05/0.2665, allocations: 101.2 kB / 382.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.11e-05/0.2666, allocations: 65.28 kB / 382.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.386e-06/0.2666, allocations: 10.09 kB / 382.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.675e-05/0.2666, allocations: 8.734 kB / 382.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002091/0.2668, allocations: 91 kB / 382.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.243e-05/0.2668, allocations: 8.719 kB / 382.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.21e-07/0.2668, allocations: 0 / 382.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.376e-05/0.2669, allocations: 15.48 kB / 382.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.068e-06/0.2669, allocations: 0 / 382.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.075e-06/0.2669, allocations: 3 kB / 382.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.117e-06/0.2669, allocations: 4.594 kB / 382.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.547e-05/0.2669, allocations: 22.38 kB / 382.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.754e-06/0.2669, allocations: 2.281 kB / 382.4 MB, free: 12.41 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 4.368e-05/0.267, allocations: 28.59 kB / 382.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of SimCode: time 0.00048/0.2675, allocations: 244.6 kB / 382.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002949/0.2704, allocations: 308.9 kB / 383 MB, free: 12.22 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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.78592579299584]