Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 103.6 kB / 21.25 MB, free: 0.5508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002026/0.002026, allocations: 214.5 kB / 24.55 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.649/1.649, allocations: 230.5 MB / 258.2 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.219e-05, allocations: 2.281 kB / 379 MB, free: 2.371 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002967/0.00299, allocations: 1.501 MB / 380.5 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.00392, allocations: 470.9 kB / 381 MB, free: 404 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.003986, allocations: 0 / 381 MB, free: 404 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.004015, allocations: 3.938 kB / 381 MB, free: 400 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.004183, allocations: 19.86 kB / 381 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.004368, allocations: 39.72 kB / 381 MB, free: 344 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.004488, allocations: 59.77 kB / 381.1 MB, free: 284 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.004601, allocations: 15.92 kB / 381.1 MB, free: 268 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.004671, allocations: 27.92 kB / 381.2 MB, free: 240 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.004717, allocations: 19.92 kB / 381.2 MB, free: 220 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.004738, allocations: 4 kB / 381.2 MB, free: 216 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.004752, allocations: 4 kB / 381.2 MB, free: 212 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001207/0.004873, allocations: 95.08 kB / 381.3 MB, free: 116 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.772e-05/0.004911, allocations: 59.19 kB / 381.3 MB, free: 56 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.004928, allocations: 4 kB / 381.3 MB, free: 52 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.67e-05/0.004945, allocations: 0 / 381.3 MB, free: 52 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: 6 (6) * Number of variables: 6 (6) Notification: Performance of [SIM] Bindings: time 0.2541/0.2591, allocations: 329.1 kB / 381.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001157/0.2592, allocations: 53.8 kB / 381.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001397/0.2593, allocations: 139.3 kB / 381.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.914e-05/0.2594, allocations: 75.66 kB / 381.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004769/0.2599, allocations: 237.9 kB / 382.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.448e-05/0.26, allocations: 75.97 kB / 382.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.465e-05/0.26, allocations: 40.95 kB / 382.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000177/0.2602, allocations: 110.1 kB / 382.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.667e-05/0.2603, allocations: 32.44 kB / 382.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001778/0.2605, allocations: 75.31 kB / 382.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00029/0.2607, allocations: 152.2 kB / 382.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001291/0.2609, allocations: 133.4 kB / 382.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002121/0.2611, allocations: 125.6 kB / 382.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001254/0.2612, allocations: 118.4 kB / 383 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.286e-05/0.2612, allocations: 12.45 kB / 383 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.654e-05/0.2613, allocations: 21.78 kB / 383 MB, free: 12.2 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) pulse.next = pulse.startTime ($RES_SRT_13); [SCAL] (1) pulse.next = pulse.startTime ($RES_SRT_14); Notification: Performance of [INI] Causalize: time 0.0002217/0.2615, allocations: 110.4 kB / 383.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.357e-05/0.2615, allocations: 4.438 kB / 383.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.2615, allocations: 0 / 383.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.038e-06/0.2615, allocations: 5.062 kB / 383.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.64e-06/0.2615, allocations: 0 / 383.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.409e-06/0.2615, allocations: 6.219 kB / 383.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.696e-06/0.2615, allocations: 5 kB / 383.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001166/0.2616, allocations: 59.3 kB / 383.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.044e-05/0.2616, allocations: 7.969 kB / 383.2 MB, free: 12.15 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: ................. 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) {assignClock1.y} * Number of clocked states: ..................... 1 (1) {pulse.next} * Number of discrete variables: ................. 5 (5) {pulse.y, $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: ........... 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.25e-05/0.2617, allocations: 18.17 kB / 383.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004857/0.2622, allocations: 242.8 kB / 383.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Templates: time 0.003168/0.2653, allocations: 0.6584 MB / 384.1 MB, free: 11.94 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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,pulse.period,pulse.startTime,pulse.width,time [Calling sys.exit(0), Time elapsed: 4.7849769879831]