Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 188.4 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.84e-05, allocations: 2.281 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003361/0.003389, allocations: 1.595 MB / 373.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005193/0.003908, allocations: 163.4 kB / 373.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.364e-05/0.003992, allocations: 7.938 kB / 373.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.528e-05/0.004047, allocations: 11.92 kB / 373.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.004174, allocations: 11.88 kB / 373.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.004447, allocations: 43.88 kB / 373.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.004585, allocations: 75.83 kB / 373.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.00472, allocations: 24.16 kB / 373.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.004794, allocations: 35.84 kB / 373.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.004859, allocations: 35.72 kB / 373.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.00488, allocations: 4 kB / 373.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.004895, allocations: 8 kB / 373.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001433/0.005038, allocations: 138.4 kB / 373.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.193e-05/0.00511, allocations: 90.72 kB / 374 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.00513, allocations: 7.938 kB / 374 MB, free: 6.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.221e-05/0.005152, allocations: 4 kB / 374 MB, free: 6.902 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.0006331/0.005785, allocations: 407.7 kB / 374.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001074/0.005892, allocations: 51.95 kB / 374.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002289/0.006121, allocations: 196 kB / 374.6 MB, free: 6.105 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001147/0.006236, allocations: 72.72 kB / 374.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008607/0.007097, allocations: 470 kB / 375.1 MB, free: 5.418 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.716e-05/0.007194, allocations: 68.73 kB / 375.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.085e-05/0.007245, allocations: 40.42 kB / 375.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001447/0.00739, allocations: 100.8 kB / 375.3 MB, free: 5.086 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001214/0.007511, allocations: 48.41 kB / 375.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.00021/0.007721, allocations: 82.36 kB / 375.5 MB, free: 4.934 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002675/0.007988, allocations: 156.3 kB / 375.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001356/0.008124, allocations: 123.7 kB / 375.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000232/0.008356, allocations: 141.5 kB / 375.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001393/0.008495, allocations: 119.9 kB / 376 MB, free: 4.309 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.42e-05/0.00851, allocations: 8.125 kB / 376 MB, free: 4.293 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.215e-05/0.008542, allocations: 24.16 kB / 376 MB, free: 4.27 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001802/0.008722, allocations: 99.95 kB / 376.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.451e-05/0.008736, allocations: 8 kB / 376.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.3e-07/0.008737, allocations: 0 / 376.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.142e-05/0.008768, allocations: 24.19 kB / 376.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.36e-06/0.008773, allocations: 0 / 376.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.624e-06/0.008781, allocations: 8 kB / 376.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.654e-06/0.008789, allocations: 0 / 376.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001125/0.008901, allocations: 63.89 kB / 376.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.698e-06/0.008911, allocations: 4 kB / 376.2 MB, free: 4.043 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.729e-05/0.008978, allocations: 27.3 kB / 376.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006483/0.009626, allocations: 331.1 kB / 376.6 MB, free: 3.668 MB / 302.1 MB Notification: Performance of Templates: time 0.003406/0.01303, allocations: 0.5612 MB / 377.1 MB, free: 3.117 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.972595862986054]