Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001763/0.001763, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.002201/0.002201, allocations: 208.7 kB / 24.55 MB, free: 3.75 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.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.01e-05, allocations: 2.281 kB / 379.1 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003126/0.003146, allocations: 1.509 MB / 380.6 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004252/0.003572, allocations: 143.5 kB / 380.7 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.003645, allocations: 3.938 kB / 380.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.158e-05/0.003697, allocations: 7.938 kB / 380.7 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.003837, allocations: 15.92 kB / 380.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.0041, allocations: 30.91 kB / 380.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.004227, allocations: 43.91 kB / 380.8 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.004344, allocations: 19.91 kB / 380.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.004388, allocations: 15.94 kB / 380.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.004426, allocations: 11.92 kB / 380.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.004444, allocations: 7.938 kB / 380.9 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.004454, allocations: 0 / 380.9 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of combineBinaries: time 8.93e-05/0.004543, allocations: 87.06 kB / 380.9 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.598e-05/0.004619, allocations: 51.25 kB / 381 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.004638, allocations: 4 kB / 381 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.756e-05/0.004655, allocations: 0 / 381 MB, free: 0.5352 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0005072/0.005163, allocations: 297.1 kB / 381.3 MB, free: 128 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.24e-05/0.005215, allocations: 31.97 kB / 381.3 MB, free: 84 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.2394/0.2446, allocations: 99.84 kB / 381.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 7.953e-05/0.2447, allocations: 64.94 kB / 381.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004738/0.2452, allocations: 233.4 kB / 381.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 3.448e-05/0.2452, allocations: 69.25 kB / 381.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.035e-05/0.2452, allocations: 35.42 kB / 381.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001335/0.2454, allocations: 91.77 kB / 381.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.591e-05/0.2454, allocations: 23.94 kB / 381.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001258/0.2456, allocations: 55.3 kB / 382 MB, free: 12.67 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001396/0.2457, allocations: 84.02 kB / 382.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 4.832e-05/0.2458, allocations: 53.73 kB / 382.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001036/0.2459, allocations: 102 kB / 382.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.266e-05/0.2459, allocations: 80.77 kB / 382.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.235e-06/0.2459, allocations: 10.12 kB / 382.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.362e-05/0.2459, allocations: 8.531 kB / 382.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002001/0.2461, allocations: 100.4 kB / 382.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.048e-05/0.2462, allocations: 7.094 kB / 382.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.2462, allocations: 0 / 382.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.037e-05/0.2462, allocations: 14.56 kB / 382.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.589e-06/0.2462, allocations: 4.438 kB / 382.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.437e-06/0.2462, allocations: 9.25 kB / 382.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.104e-06/0.2462, allocations: 2.281 kB / 382.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 5.733e-05/0.2462, allocations: 20.39 kB / 382.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.285e-06/0.2462, allocations: 0.6875 kB / 382.5 MB, free: 12.42 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: .................... 1 (1) {assignClock.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {step.y, 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: ........... 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: Performance of backend: time 3.729e-05/0.2463, allocations: 24.72 kB / 382.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004107/0.2467, allocations: 248.5 kB / 382.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Templates: time 0.002599/0.2493, allocations: 334.7 kB / 383.1 MB, free: 12.23 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:assignClock.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,step.startTime,step.startValue,time [Calling sys.exit(0), Time elapsed: 4.909949028980918]