Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.002318/0.002318, allocations: 103.6 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.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.002615/0.002615, allocations: 211 kB / 24.55 MB, free: 3.824 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.61/1.61, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/2.941e-05, allocations: 2.281 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003027/0.003056, allocations: 1.508 MB / 380.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003884/0.003444, allocations: 143.4 kB / 380.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.003511, allocations: 0 / 380.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.003555, allocations: 3.938 kB / 380.7 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.003679, allocations: 7.938 kB / 380.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.003908, allocations: 38.27 kB / 380.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.004018, allocations: 35.92 kB / 380.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.004138, allocations: 15.92 kB / 380.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.004185, allocations: 15.94 kB / 380.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.004222, allocations: 11.92 kB / 380.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.004242, allocations: 0 / 380.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.004259, allocations: 4 kB / 380.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of combineBinaries: time 8.315e-05/0.004342, allocations: 75.09 kB / 380.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.936e-05/0.004371, allocations: 39.41 kB / 380.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.004386, allocations: 4 kB / 380.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.658e-05/0.004403, allocations: 0 / 380.9 MB, free: 0.5625 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0004655/0.004868, allocations: 277.1 kB / 381.2 MB, free: 176 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.378e-05/0.004922, allocations: 35.97 kB / 381.2 MB, free: 128 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 8.888e-05/0.005011, allocations: 84.25 kB / 381.3 MB, free: 16 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.2153/0.2203, allocations: 59.7 kB / 381.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004999/0.2208, allocations: 191.2 kB / 381.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.411e-05/0.2209, allocations: 60.3 kB / 381.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.436e-05/0.2209, allocations: 38.81 kB / 381.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 9.132e-05/0.221, allocations: 82.61 kB / 381.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.197e-05/0.2211, allocations: 17.08 kB / 381.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001468/0.2212, allocations: 51.81 kB / 381.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001484/0.2214, allocations: 71.89 kB / 381.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 4.951e-05/0.2214, allocations: 51.59 kB / 381.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001041/0.2215, allocations: 106.5 kB / 382 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [INI] Inline: time 5.437e-05/0.2216, allocations: 59.52 kB / 382.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.774e-06/0.2216, allocations: 11.02 kB / 382.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.311e-05/0.2216, allocations: 12.39 kB / 382.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001345/0.2217, allocations: 58.06 kB / 382.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.06e-05/0.2218, allocations: 0.875 kB / 382.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.213e-06/0.2218, allocations: 2.719 kB / 382.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.436e-05/0.2218, allocations: 13.03 kB / 382.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.1e-06/0.2218, allocations: 7.844 kB / 382.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.044e-06/0.2218, allocations: 2.5 kB / 382.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.856e-06/0.2218, allocations: 9.438 kB / 382.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 5.823e-05/0.2218, allocations: 13.05 kB / 382.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.35e-05/0.2219, allocations: 5 kB / 382.2 MB, free: 12.44 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: ......... 1 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {sample1.u, sample1.y, $SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] 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: [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 5.025e-05/0.2219, allocations: 16.69 kB / 382.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005815/0.2225, allocations: 227.2 kB / 382.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Templates: time 0.003311/0.2258, allocations: 311.3 kB / 382.8 MB, free: 12.25 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,step.startTime,step.startValue,time [Calling sys.exit(0), Time elapsed: 4.98190698196413]