Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.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.001635/0.001635, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001762/0.001762, allocations: 209.2 kB / 24.49 MB, free: 3.961 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.275e-05, allocations: 2.281 kB / 378.9 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse): time 0.002672/0.002695, allocations: 1.451 MB / 380.4 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.002906, allocations: 39.84 kB / 380.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.002973, allocations: 3.938 kB / 380.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.003002, allocations: 3.938 kB / 380.4 MB, free: 1.023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.003067, allocations: 3.938 kB / 380.4 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.003325, allocations: 36.45 kB / 380.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.003431, allocations: 35.92 kB / 380.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.003557, allocations: 15.92 kB / 380.5 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.003612, allocations: 19.94 kB / 380.5 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.003655, allocations: 23.91 kB / 380.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.003677, allocations: 4 kB / 380.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.003689, allocations: 4 kB / 380.6 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.423e-05/0.003783, allocations: 75.25 kB / 380.6 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.907e-05/0.003882, allocations: 47.3 kB / 380.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.003908, allocations: 4 kB / 380.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-05/0.00392, allocations: 0 / 380.7 MB, free: 0.7578 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.0005427/0.004463, allocations: 313.1 kB / 381 MB, free: 340 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.065e-05/0.004514, allocations: 35.95 kB / 381 MB, free: 292 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001461/0.00466, allocations: 144.1 kB / 381.2 MB, free: 120 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.207/0.2117, allocations: 73.98 kB / 381.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000774/0.2125, allocations: 202.3 kB / 381.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001085/0.2126, allocations: 71.12 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.954e-05/0.2126, allocations: 47.47 kB / 381.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002929/0.2129, allocations: 117.2 kB / 381.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001366/0.213, allocations: 38.69 kB / 381.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002192/0.2133, allocations: 83.27 kB / 381.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003274/0.2136, allocations: 130.6 kB / 381.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001708/0.2138, allocations: 117 kB / 382 MB, free: 12.87 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001593/0.2139, allocations: 106.4 kB / 382.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.000127/0.214, allocations: 103.8 kB / 382.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.21e-05/0.2141, allocations: 12.08 kB / 382.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.993e-05/0.2141, allocations: 18.81 kB / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 8.676e-06/0.2141, allocations: 0 / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.338e-06/0.2141, allocations: 0.75 kB / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.82e-07/0.2141, allocations: 1.281 kB / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.863e-06/0.2141, allocations: 2.5 kB / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.532e-06/0.2141, allocations: 5.062 kB / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.8e-06/0.2141, allocations: 1.312 kB / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 8.448e-05/0.2142, allocations: 49.19 kB / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 5.19e-06/0.2142, allocations: 0 / 382.3 MB, free: 12.69 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: ..................... 2 (2) {pulse.counter, pulse.startOutput} * Number of discrete variables: ................. 6 (6) {pulse.y, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $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 0.000104/0.2143, allocations: 23.28 kB / 382.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of SimCode: time 0.0003745/0.2147, allocations: 208.5 kB / 382.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of Templates: time 0.002903/0.2176, allocations: 0.5702 MB / 383.1 MB, free: 12.5 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedPulse/TickBasedPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.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.420185422990471]