Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.001265/0.001265, 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.001421/0.001421, 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.73e-05/3.73e-05, allocations: 2.281 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003663/0.0037, allocations: 1.622 MB / 380.5 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004788/0.004179, allocations: 175.3 kB / 380.7 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.004261, allocations: 0 / 380.7 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.618e-05/0.004317, allocations: 15.8 kB / 380.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.004449, allocations: 7.938 kB / 380.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.004721, allocations: 51.81 kB / 380.8 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.004868, allocations: 71.89 kB / 380.9 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.005018, allocations: 32.14 kB / 380.9 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.827e-05/0.005076, allocations: 35.84 kB / 380.9 MB, free: 496 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.005127, allocations: 27.84 kB / 381 MB, free: 468 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.00515, allocations: 8 kB / 381 MB, free: 460 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.005164, allocations: 4 kB / 381 MB, free: 456 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001326/0.005297, allocations: 142.4 kB / 381.1 MB, free: 312 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.955e-05/0.005356, allocations: 90.72 kB / 381.2 MB, free: 220 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.005374, allocations: 8 kB / 381.2 MB, free: 212 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.967e-05/0.005404, allocations: 11.81 kB / 381.2 MB, free: 200 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.2144/0.2198, allocations: 389.7 kB / 381.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00013/0.2199, allocations: 62.81 kB / 381.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001746/0.2201, allocations: 182.8 kB / 381.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.475e-05/0.2202, allocations: 77.64 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008102/0.221, allocations: 472.4 kB / 382.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.822e-05/0.2211, allocations: 68.39 kB / 382.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.172e-05/0.2211, allocations: 47.41 kB / 382.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 9.95e-05/0.2212, allocations: 95.14 kB / 382.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001177/0.2213, allocations: 34.94 kB / 382.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001718/0.2215, allocations: 89 kB / 382.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002617/0.2218, allocations: 161.8 kB / 382.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001377/0.2219, allocations: 118.1 kB / 383 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002096/0.2221, allocations: 135.3 kB / 383.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001525/0.2223, allocations: 125.7 kB / 383.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.072e-05/0.2223, allocations: 10.66 kB / 383.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.793e-05/0.2223, allocations: 23.19 kB / 383.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001739/0.2225, allocations: 86.64 kB / 383.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.515e-05/0.2225, allocations: 4.812 kB / 383.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.2e-07/0.2225, allocations: 1.344 kB / 383.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.681e-06/0.2225, allocations: 3.312 kB / 383.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.79e-06/0.2225, allocations: 9.281 kB / 383.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.083e-05/0.2225, allocations: 1.438 kB / 383.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001165/0.2226, allocations: 58.05 kB / 383.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.488e-06/0.2227, allocations: 0.5 kB / 383.4 MB, free: 12.21 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: ......... 2 * 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: ................. 10 (10) {step.y, hold1.u, hold1.y, sample2.y, xor.u1, xor1.u2, $SEV_2, $SEV_1, $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: ........... 4 (scalar:4, 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: ........... 6 (scalar:6, 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.314e-05/0.2227, allocations: 27.12 kB / 383.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006584/0.2234, allocations: 329.5 kB / 383.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Templates: time 0.01193/0.2353, allocations: 0.6267 MB / 384.4 MB, free: 11.96 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,sample2.y,hold1.y Variables in the result:hold1.y,hold1.y_start,integerConstant.k,integerConstant.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,sample2.y,step.startTime,step.startValue,time,xor.u1,xor1.u1 [Calling sys.exit(0), Time elapsed: 4.724234743975103]