Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001752/0.001752, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 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.002035/0.002035, allocations: 186.9 kB / 24.53 MB, free: 3.75 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.588/1.588, 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.664e-05/3.664e-05, allocations: 2.281 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.004576/0.004613, allocations: 1.43 MB / 373.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004705/0.005083, allocations: 99.64 kB / 373.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.005186, allocations: 0 / 373.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.00524, allocations: 7.922 kB / 373.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.005304, allocations: 7.938 kB / 373.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.005707, allocations: 23.98 kB / 373.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.005837, allocations: 31.91 kB / 373.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.005981, allocations: 8 kB / 373.3 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.006038, allocations: 15.92 kB / 373.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.006089, allocations: 11.92 kB / 373.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.006119, allocations: 4 kB / 373.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.006131, allocations: 0 / 373.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001173/0.006248, allocations: 63.27 kB / 373.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.032e-05/0.006289, allocations: 43.41 kB / 373.5 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.006322, allocations: 4 kB / 373.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.255e-05/0.006354, allocations: 3.938 kB / 373.5 MB, free: 7.395 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: 4 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0006947/0.007049, allocations: 273 kB / 373.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.637e-05/0.007125, allocations: 28.03 kB / 373.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001263/0.007252, allocations: 84.33 kB / 373.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001266/0.007378, allocations: 76.66 kB / 373.9 MB, free: 6.738 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005534/0.007931, allocations: 192.6 kB / 374.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.613e-05/0.008018, allocations: 60.73 kB / 374.2 MB, free: 6.379 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.844e-05/0.008086, allocations: 48.3 kB / 374.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002035/0.00829, allocations: 84.86 kB / 374.3 MB, free: 6.168 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.346e-05/0.008363, allocations: 11.98 kB / 374.3 MB, free: 6.156 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001593/0.008522, allocations: 46.5 kB / 374.4 MB, free: 6.102 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001443/0.008667, allocations: 64.09 kB / 374.4 MB, free: 6.031 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.26e-05/0.008729, allocations: 55.89 kB / 374.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001753/0.008904, allocations: 108.9 kB / 374.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of [INI] Inline: time 5.242e-05/0.008957, allocations: 48.03 kB / 374.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.649e-05/0.008973, allocations: 12.12 kB / 374.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.819e-05/0.008992, allocations: 15.92 kB / 374.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 6.993e-06/0.008999, allocations: 0 / 374.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 5.089e-06/0.009004, allocations: 4.094 kB / 374.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.009004, allocations: 3.938 kB / 374.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.764e-06/0.009006, allocations: 0 / 374.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.276e-06/0.009009, allocations: 0 / 374.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.559e-06/0.009014, allocations: 4 kB / 374.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.222e-06/0.00902, allocations: 0 / 374.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.432e-05/0.009084, allocations: 16 kB / 374.7 MB, free: 5.688 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.073e-06/0.009091, allocations: 0 / 374.7 MB, free: 5.688 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: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 0 * 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) {assignClock1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {step.y, $SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock1.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, 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: ........... 0 (scalar:0, 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.009e-05/0.009151, allocations: 25.09 kB / 374.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004533/0.009605, allocations: 186.7 kB / 374.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of Templates: time 0.003092/0.0127, allocations: 374.5 kB / 375.2 MB, free: 5.102 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.y,periodicClock1.period,periodicClock1.useSolver,step.height,step.offset,step.startTime,time [Calling sys.exit(0), Time elapsed: 4.992897712974809]