Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001857/0.001857, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 218.3 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 230.5 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.452e-05, allocations: 8.047 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003205/0.003229, allocations: 1.625 MB / 380.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005347/0.003764, allocations: 171.4 kB / 380.8 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.003843, allocations: 7.938 kB / 380.8 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.316e-05/0.003896, allocations: 7.922 kB / 380.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.004023, allocations: 15.86 kB / 380.9 MB, free: 500 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.004278, allocations: 47.88 kB / 380.9 MB, free: 452 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.004424, allocations: 67.88 kB / 381 MB, free: 384 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.004564, allocations: 32.14 kB / 381 MB, free: 348 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.004627, allocations: 31.86 kB / 381 MB, free: 316 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.004678, allocations: 23.84 kB / 381.1 MB, free: 292 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.004701, allocations: 12 kB / 381.1 MB, free: 280 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.004714, allocations: 4 kB / 381.1 MB, free: 276 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002051/0.004919, allocations: 146.3 kB / 381.2 MB, free: 128 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.024e-05/0.004979, allocations: 94.7 kB / 381.3 MB, free: 32 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.004995, allocations: 4 kB / 381.3 MB, free: 28 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.193e-05/0.005017, allocations: 3.938 kB / 381.3 MB, free: 24 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.2483/0.2533, allocations: 398 kB / 381.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000148/0.2534, allocations: 54.39 kB / 381.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002508/0.2537, allocations: 184.6 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.668e-05/0.2538, allocations: 75.58 kB / 382 MB, free: 12.91 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0009107/0.2547, allocations: 473.5 kB / 382.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.077e-05/0.2548, allocations: 75.09 kB / 382.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.719e-05/0.2548, allocations: 40.12 kB / 382.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001279/0.255, allocations: 99.77 kB / 382.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000123/0.2551, allocations: 34.66 kB / 382.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002028/0.2553, allocations: 92.75 kB / 382.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000275/0.2556, allocations: 155.4 kB / 383 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000147/0.2557, allocations: 118.2 kB / 383.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001956/0.2559, allocations: 129.2 kB / 383.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001367/0.256, allocations: 128.6 kB / 383.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.138e-05/0.256, allocations: 14.56 kB / 383.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.815e-05/0.2561, allocations: 25.08 kB / 383.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001696/0.2562, allocations: 92.27 kB / 383.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.26e-05/0.2563, allocations: 1.062 kB / 383.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.21e-07/0.2563, allocations: 0 / 383.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.28e-05/0.2563, allocations: 28.19 kB / 383.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.352e-06/0.2563, allocations: 1.062 kB / 383.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.173e-06/0.2563, allocations: 13.16 kB / 383.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.138e-05/0.2563, allocations: 1.656 kB / 383.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001102/0.2564, allocations: 49.69 kB / 383.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.006e-05/0.2564, allocations: 4 kB / 383.6 MB, free: 12.05 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 4.731e-05/0.2565, allocations: 16.78 kB / 383.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006259/0.2571, allocations: 328.3 kB / 383.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of Templates: time 0.003633/0.2607, allocations: 0.5633 MB / 384.5 MB, free: 11.81 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.907684264995623]