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.001653/0.001653, 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.002579/0.002579, allocations: 212.5 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.636/1.636, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.439e-05/3.439e-05, allocations: 5.094 kB / 379.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003553/0.003588, allocations: 1.615 MB / 380.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005731/0.004161, allocations: 171.4 kB / 380.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.004284, allocations: 4 kB / 380.8 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.357e-05/0.004357, allocations: 15.8 kB / 380.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.00456, allocations: 7.938 kB / 380.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.004914, allocations: 47.83 kB / 380.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.005094, allocations: 71.88 kB / 381 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.005297, allocations: 36.12 kB / 381 MB, free: 472 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.005359, allocations: 31.86 kB / 381 MB, free: 440 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.005422, allocations: 27.84 kB / 381.1 MB, free: 412 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.005456, allocations: 8 kB / 381.1 MB, free: 404 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.005472, allocations: 4 kB / 381.1 MB, free: 400 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001665/0.005638, allocations: 142.4 kB / 381.2 MB, free: 256 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.454e-05/0.005723, allocations: 94.7 kB / 381.3 MB, free: 160 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.005742, allocations: 4 kB / 381.3 MB, free: 156 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.132e-05/0.005774, allocations: 3.938 kB / 381.3 MB, free: 152 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.2845/0.2902, allocations: 389.5 kB / 381.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001293/0.2904, allocations: 57.98 kB / 381.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001972/0.2906, allocations: 185.2 kB / 381.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.647e-05/0.2907, allocations: 78.02 kB / 382 MB, free: 12.99 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008317/0.2915, allocations: 476 kB / 382.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.524e-05/0.2916, allocations: 69.36 kB / 382.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.837e-05/0.2916, allocations: 42.95 kB / 382.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 9.897e-05/0.2917, allocations: 94.22 kB / 382.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001559/0.2918, allocations: 45.08 kB / 382.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002035/0.2921, allocations: 86.97 kB / 382.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002574/0.2923, allocations: 156.7 kB / 383 MB, free: 12.37 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001479/0.2925, allocations: 121 kB / 383.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000239/0.2927, allocations: 133.9 kB / 383.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001729/0.2929, allocations: 122.9 kB / 383.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.532e-05/0.2929, allocations: 10.73 kB / 383.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.732e-05/0.2929, allocations: 24.83 kB / 383.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000196/0.2931, allocations: 93.41 kB / 383.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.719e-05/0.2931, allocations: 1.125 kB / 383.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.493e-06/0.2931, allocations: 1.25 kB / 383.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.431e-05/0.2932, allocations: 28.38 kB / 383.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.221e-06/0.2932, allocations: 0 / 383.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.194e-06/0.2932, allocations: 10.56 kB / 383.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.418e-05/0.2932, allocations: 1.469 kB / 383.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001372/0.2933, allocations: 50.94 kB / 383.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.439e-05/0.2933, allocations: 7.375 kB / 383.6 MB, free: 12.14 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 6.177e-05/0.2934, allocations: 20.31 kB / 383.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006723/0.2941, allocations: 325.9 kB / 383.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Templates: time 0.00352/0.2976, allocations: 0.5638 MB / 384.5 MB, free: 11.88 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.csv","/var/lib/jenkins1/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.999745418026578]