Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001367/0.001367, 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.001462/0.001462, allocations: 216.8 kB / 24.5 MB, free: 3.926 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.515/1.515, 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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.689e-05, allocations: 2.281 kB / 378.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002979/0.003006, allocations: 1.443 MB / 380.4 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.003335, allocations: 99.62 kB / 380.5 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.003403, allocations: 4 kB / 380.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.003429, allocations: 3.938 kB / 380.5 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.00347, allocations: 3.938 kB / 380.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.003722, allocations: 27.91 kB / 380.5 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.003828, allocations: 27.98 kB / 380.5 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.003946, allocations: 19.92 kB / 380.6 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.003986, allocations: 11.94 kB / 380.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.607e-05/0.004022, allocations: 11.92 kB / 380.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.004042, allocations: 7.938 kB / 380.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.004053, allocations: 4 kB / 380.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.928e-05/0.004122, allocations: 51.33 kB / 380.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.227e-05/0.004155, allocations: 39.5 kB / 380.7 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.004173, allocations: 0 / 380.7 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.235e-05/0.004185, allocations: 4 kB / 380.7 MB, free: 0.7812 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.0004416/0.004627, allocations: 261.2 kB / 380.9 MB, free: 416 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.027e-05/0.004677, allocations: 31.97 kB / 381 MB, free: 372 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 9.822e-05/0.004775, allocations: 88.19 kB / 381.1 MB, free: 256 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 7.304e-05/0.004848, allocations: 64.73 kB / 381.1 MB, free: 144 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2132/0.218, allocations: 180.3 kB / 381.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.369e-05/0.2181, allocations: 61.48 kB / 381.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.658e-05/0.2181, allocations: 40.53 kB / 381.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001549/0.2183, allocations: 86.09 kB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.447e-05/0.2184, allocations: 23.7 kB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001367/0.2185, allocations: 51.62 kB / 381.5 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001628/0.2187, allocations: 82.88 kB / 381.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.465e-05/0.2187, allocations: 59.67 kB / 381.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 9.54e-05/0.2188, allocations: 104.8 kB / 381.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of [INI] Inline: time 5.775e-05/0.2189, allocations: 50.42 kB / 381.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.232e-06/0.2189, allocations: 15.53 kB / 381.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.49e-05/0.2189, allocations: 6.469 kB / 381.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 9.919e-06/0.2189, allocations: 1.312 kB / 381.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.012e-06/0.2189, allocations: 3.375 kB / 381.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.2189, allocations: 0.9375 kB / 381.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.469e-06/0.2189, allocations: 1.5 kB / 381.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.003e-06/0.2189, allocations: 6.188 kB / 381.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.534e-06/0.2189, allocations: 1.672 kB / 381.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 5.463e-05/0.219, allocations: 18.3 kB / 381.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 5.18e-06/0.219, allocations: 5.219 kB / 381.9 MB, free: 12.8 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: ................. 4 (4) {step.y, $SEV_1, $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 3.545e-05/0.219, allocations: 23.78 kB / 381.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of SimCode: time 0.0003471/0.2194, allocations: 191.1 kB / 382.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Templates: time 0.002751/0.2221, allocations: 415.7 kB / 382.5 MB, free: 12.64 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.598029860761017]