Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.001674/0.001674, 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.001988/0.001988, allocations: 191.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.574/1.574, allocations: 225.7 MB / 253.4 MB, free: 12.78 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.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.765e-05, allocations: 2.281 kB / 371.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003642/0.00367, allocations: 1.473 MB / 373.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009279/0.004598, allocations: 435 kB / 373.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.004681, allocations: 4 kB / 373.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.004716, allocations: 3.938 kB / 373.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.004896, allocations: 11.91 kB / 373.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.005147, allocations: 31.91 kB / 373.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.005293, allocations: 63.78 kB / 373.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.005437, allocations: 19.92 kB / 373.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.005521, allocations: 23.86 kB / 373.8 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.00557, allocations: 19.92 kB / 373.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.005594, allocations: 4 kB / 373.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.005609, allocations: 4 kB / 373.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001347/0.005743, allocations: 95.08 kB / 373.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.079e-05/0.005784, allocations: 51.3 kB / 373.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.005801, allocations: 4 kB / 373.9 MB, free: 6.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.271e-05/0.005824, allocations: 7.938 kB / 374 MB, free: 6.891 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: 6 (6) * Number of variables: 6 (6) Notification: Performance of [SIM] Bindings: time 0.0006411/0.006465, allocations: 344.6 kB / 374.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001436/0.006608, allocations: 43.95 kB / 374.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000163/0.006771, allocations: 140.1 kB / 374.5 MB, free: 6.215 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001257/0.006897, allocations: 76.72 kB / 374.5 MB, free: 6.094 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004978/0.007395, allocations: 229 kB / 374.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.933e-05/0.007494, allocations: 80.72 kB / 374.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.396e-05/0.007548, allocations: 44.36 kB / 374.9 MB, free: 5.609 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002469/0.007795, allocations: 110.4 kB / 375 MB, free: 5.449 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001202/0.007915, allocations: 35.89 kB / 375 MB, free: 5.414 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001913/0.008107, allocations: 74.05 kB / 375.1 MB, free: 5.332 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002671/0.008374, allocations: 152 kB / 375.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001204/0.008494, allocations: 127.8 kB / 375.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002537/0.008748, allocations: 140.9 kB / 375.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001294/0.008877, allocations: 124 kB / 375.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.519e-05/0.008892, allocations: 8.125 kB / 375.6 MB, free: 4.703 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.465e-05/0.008917, allocations: 19.98 kB / 375.7 MB, free: 4.684 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.0002252/0.009142, allocations: 119.9 kB / 375.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 8.296e-06/0.009151, allocations: 0 / 375.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.31e-07/0.009151, allocations: 0 / 375.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.874e-06/0.009153, allocations: 0 / 375.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.106e-06/0.009156, allocations: 0 / 375.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.74e-06/0.009162, allocations: 8 kB / 375.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.581e-06/0.009167, allocations: 3.938 kB / 375.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.000117/0.009284, allocations: 67.95 kB / 375.9 MB, free: 4.48 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.045e-06/0.009292, allocations: 4 kB / 375.9 MB, free: 4.477 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.801e-05/0.00934, allocations: 24.31 kB / 375.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004749/0.009815, allocations: 247.8 kB / 376.1 MB, free: 4.195 MB / 302.1 MB Notification: Performance of Templates: time 0.003161/0.01298, allocations: 0.6483 MB / 376.8 MB, free: 3.551 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.736116547952406]