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.001324/0.001324, 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.001562/0.001562, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.805 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 3.119e-05/3.119e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00361/0.003641, allocations: 1.512 MB / 380.4 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004877/0.004129, allocations: 135.5 kB / 380.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.004214, allocations: 4 kB / 380.6 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.39e-05/0.004268, allocations: 3.938 kB / 380.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.004412, allocations: 11.92 kB / 380.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.004694, allocations: 36.91 kB / 380.6 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.00483, allocations: 43.84 kB / 380.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.00497, allocations: 15.92 kB / 380.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.005023, allocations: 19.92 kB / 380.7 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.005064, allocations: 7.938 kB / 380.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.005091, allocations: 4 kB / 380.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.005103, allocations: 0 / 380.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.535e-05/0.005199, allocations: 67.17 kB / 380.8 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.342e-05/0.005242, allocations: 51.33 kB / 380.8 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.005259, allocations: 4 kB / 380.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.436e-05/0.005283, allocations: 3.938 kB / 380.8 MB, free: 0.6055 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.000555/0.005838, allocations: 273.2 kB / 381.1 MB, free: 224 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.122e-05/0.005899, allocations: 35.97 kB / 381.1 MB, free: 176 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000132/0.006031, allocations: 76.27 kB / 381.2 MB, free: 72 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.2422/0.2482, allocations: 65.2 kB / 381.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008309/0.249, allocations: 187.8 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.649e-05/0.2491, allocations: 68.45 kB / 381.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.327e-05/0.2491, allocations: 34 kB / 381.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001122/0.2492, allocations: 84.47 kB / 381.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001228/0.2494, allocations: 15.28 kB / 381.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001891/0.2496, allocations: 53.81 kB / 381.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002159/0.2498, allocations: 72.5 kB / 381.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 7.88e-05/0.2499, allocations: 44.16 kB / 381.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001704/0.25, allocations: 112.9 kB / 381.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.599e-05/0.2501, allocations: 58.44 kB / 382 MB, free: 12.54 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.155e-05/0.2501, allocations: 11.72 kB / 382 MB, free: 12.53 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.636e-05/0.2501, allocations: 14.25 kB / 382 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001504/0.2503, allocations: 59.95 kB / 382.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.83e-05/0.2503, allocations: 1.219 kB / 382.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.2503, allocations: 0 / 382.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.794e-06/0.2503, allocations: 2.781 kB / 382.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.14e-06/0.2503, allocations: 8.469 kB / 382.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.149e-05/0.2503, allocations: 1.688 kB / 382.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.721e-05/0.2504, allocations: 14.62 kB / 382.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.29e-05/0.2504, allocations: 0 / 382.1 MB, free: 12.5 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 7.454e-05/0.2505, allocations: 14.98 kB / 382.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007586/0.2513, allocations: 238.8 kB / 382.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of Templates: time 0.003821/0.2551, allocations: 324.4 kB / 382.7 MB, free: 12.31 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/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.7704724837094545]