Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.002002/0.002002, 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.002237/0.002237, allocations: 186.9 kB / 24.53 MB, free: 3.75 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.614/1.614, allocations: 225.7 MB / 253.4 MB, free: 12.76 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.42e-05, allocations: 2.281 kB / 371.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003696/0.003731, allocations: 1.497 MB / 373.2 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005088/0.004239, allocations: 143.4 kB / 373.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004343, allocations: 0 / 373.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.434e-05/0.004407, allocations: 3.938 kB / 373.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.004582, allocations: 19.92 kB / 373.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.004882, allocations: 31.91 kB / 373.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.005026, allocations: 35.91 kB / 373.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.005177, allocations: 19.98 kB / 373.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.005225, allocations: 11.94 kB / 373.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.005272, allocations: 15.92 kB / 373.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.005292, allocations: 7.938 kB / 373.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.005302, allocations: 0 / 373.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001028/0.005405, allocations: 75.16 kB / 373.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.342e-05/0.005448, allocations: 59.16 kB / 373.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.005474, allocations: 4 kB / 373.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.362e-05/0.005498, allocations: 3.938 kB / 373.6 MB, free: 7.324 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.0006384/0.006136, allocations: 301.1 kB / 373.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.422e-05/0.0062, allocations: 28.03 kB / 374 MB, free: 6.871 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001203/0.00632, allocations: 100.3 kB / 374.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.016e-05/0.006411, allocations: 64.67 kB / 374.1 MB, free: 6.637 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005753/0.006986, allocations: 240.6 kB / 374.4 MB, free: 6.328 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.1e-05/0.007067, allocations: 65.3 kB / 374.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.408e-05/0.007121, allocations: 44.42 kB / 374.5 MB, free: 6.148 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001935/0.007314, allocations: 102.8 kB / 374.6 MB, free: 5.996 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.201e-05/0.007396, allocations: 23.89 kB / 374.6 MB, free: 5.973 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001522/0.007549, allocations: 50.27 kB / 374.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001615/0.00771, allocations: 84.3 kB / 374.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.943e-05/0.00777, allocations: 55.89 kB / 374.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001708/0.00794, allocations: 108.9 kB / 374.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.253e-05/0.008003, allocations: 60.02 kB / 374.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.643e-05/0.008019, allocations: 12.12 kB / 374.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.505e-05/0.008034, allocations: 11.92 kB / 375 MB, free: 5.484 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002273/0.008262, allocations: 115.7 kB / 375.1 MB, free: 5.363 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.362e-05/0.008275, allocations: 4.188 kB / 375.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.008276, allocations: 0 / 375.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.696e-05/0.008303, allocations: 16.12 kB / 375.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.239e-06/0.008308, allocations: 0 / 375.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.759e-06/0.008313, allocations: 4 kB / 375.1 MB, free: 5.332 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.577e-06/0.008321, allocations: 4 kB / 375.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.726e-05/0.008389, allocations: 23.92 kB / 375.1 MB, free: 5.305 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.106e-05/0.0084, allocations: 0 / 375.1 MB, free: 5.305 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 5.483e-05/0.008454, allocations: 25.69 kB / 375.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of SimCode: time 0.000531/0.008985, allocations: 238.6 kB / 375.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of Templates: time 0.002994/0.01198, allocations: 345.5 kB / 375.7 MB, free: 4.691 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.948913915024605]