Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 104 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 192.2 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.509e-05, allocations: 2.281 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003449/0.003484, allocations: 1.516 MB / 373.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005327/0.004017, allocations: 139.5 kB / 373.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.004145, allocations: 3.938 kB / 373.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.58e-05/0.004221, allocations: 7.922 kB / 373.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.004415, allocations: 11.94 kB / 373.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.004743, allocations: 31.89 kB / 373.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.004885, allocations: 43.84 kB / 373.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.005041, allocations: 12 kB / 373.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.005092, allocations: 15.92 kB / 373.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.005152, allocations: 15.94 kB / 373.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.005175, allocations: 4 kB / 373.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.005187, allocations: 0 / 373.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001235/0.00531, allocations: 83 kB / 373.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.295e-05/0.005363, allocations: 63.16 kB / 373.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.005382, allocations: 0 / 373.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.127e-05/0.005413, allocations: 7.984 kB / 373.7 MB, free: 7.207 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.0006635/0.006077, allocations: 320.1 kB / 374 MB, free: 6.777 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.023e-05/0.006147, allocations: 36.03 kB / 374 MB, free: 6.73 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001382/0.006285, allocations: 92.33 kB / 374.1 MB, free: 6.613 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001174/0.006402, allocations: 68.72 kB / 374.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0006627/0.007065, allocations: 248.6 kB / 374.4 MB, free: 6.184 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.315e-05/0.007148, allocations: 64.73 kB / 374.5 MB, free: 6.074 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.323e-05/0.007201, allocations: 37 kB / 374.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002324/0.007434, allocations: 96.78 kB / 374.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.419e-05/0.007508, allocations: 11.92 kB / 374.6 MB, free: 5.852 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001261/0.007634, allocations: 50.25 kB / 374.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001409/0.007775, allocations: 68.22 kB / 374.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 4.612e-05/0.007821, allocations: 44.38 kB / 374.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001568/0.007978, allocations: 109 kB / 374.9 MB, free: 5.484 MB / 302.1 MB Notification: Performance of [INI] Inline: time 5.582e-05/0.008034, allocations: 56.03 kB / 374.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.168e-05/0.008045, allocations: 8.125 kB / 374.9 MB, free: 5.41 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.877e-05/0.008064, allocations: 15.92 kB / 375 MB, free: 5.395 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001946/0.008259, allocations: 90.67 kB / 375 MB, free: 5.297 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.044e-05/0.008269, allocations: 0 / 375 MB, free: 5.297 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.955e-06/0.008272, allocations: 4 kB / 375 MB, free: 5.293 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.943e-05/0.008292, allocations: 16.12 kB / 375.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.677e-06/0.008295, allocations: 0 / 375.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.346e-06/0.008299, allocations: 4 kB / 375.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.783e-06/0.008305, allocations: 4 kB / 375.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 5.965e-05/0.008365, allocations: 19.98 kB / 375.1 MB, free: 5.242 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.017e-05/0.008375, allocations: 3.938 kB / 375.1 MB, free: 5.238 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 6.243e-05/0.008438, allocations: 31.88 kB / 375.1 MB, free: 5.211 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004753/0.008913, allocations: 234.3 kB / 375.4 MB, free: 4.957 MB / 302.1 MB Notification: Performance of Templates: time 0.00287/0.01178, allocations: 319.1 kB / 375.7 MB, free: 4.648 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.970931488962378]