Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001627/0.001627, allocations: 104 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.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.001716/0.001716, allocations: 190.7 kB / 24.53 MB, free: 3.852 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.588/1.588, allocations: 225.7 MB / 253.4 MB, free: 12.77 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.684e-05, allocations: 2.281 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003526/0.003553, allocations: 1.488 MB / 373.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004253/0.003978, allocations: 135.6 kB / 373.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.004059, allocations: 3.938 kB / 373.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.004114, allocations: 7.922 kB / 373.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.004256, allocations: 4 kB / 373.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.004518, allocations: 35.84 kB / 373.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004657, allocations: 43.84 kB / 373.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.004801, allocations: 7.938 kB / 373.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.004848, allocations: 23.91 kB / 373.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.004893, allocations: 19.86 kB / 373.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.00491, allocations: 4 kB / 373.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.004923, allocations: 4 kB / 373.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.178e-05/0.005015, allocations: 59.19 kB / 373.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.673e-05/0.005052, allocations: 47.39 kB / 373.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.005068, allocations: 4 kB / 373.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.325e-05/0.005091, allocations: 3.938 kB / 373.6 MB, free: 7.258 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0005369/0.005628, allocations: 269.1 kB / 373.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.987e-05/0.005688, allocations: 32.03 kB / 373.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001106/0.005798, allocations: 84.34 kB / 374 MB, free: 6.723 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.737e-05/0.005886, allocations: 60.73 kB / 374 MB, free: 6.617 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004948/0.00638, allocations: 200.5 kB / 374.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.432e-05/0.006455, allocations: 64.73 kB / 374.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.52e-05/0.0065, allocations: 36.36 kB / 374.3 MB, free: 6.184 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001054/0.006605, allocations: 80.86 kB / 374.4 MB, free: 6.051 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.636e-05/0.006682, allocations: 16.31 kB / 374.4 MB, free: 6.035 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001448/0.006826, allocations: 50.27 kB / 374.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000153/0.006979, allocations: 80.12 kB / 374.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.363e-05/0.007033, allocations: 43.97 kB / 374.6 MB, free: 5.832 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001731/0.007206, allocations: 109 kB / 374.7 MB, free: 5.656 MB / 302.1 MB Notification: Performance of [INI] Inline: time 5.851e-05/0.007265, allocations: 56.25 kB / 374.8 MB, free: 5.598 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.361e-05/0.007278, allocations: 16.11 kB / 374.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.185e-05/0.00729, allocations: 4 kB / 374.8 MB, free: 5.57 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000118/0.007408, allocations: 56.08 kB / 374.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.608e-05/0.007424, allocations: 4 kB / 374.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.007425, allocations: 0 / 374.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.019e-05/0.007445, allocations: 16.12 kB / 374.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.898e-06/0.007449, allocations: 0 / 374.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.193e-06/0.00745, allocations: 0 / 374.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.092e-05/0.007461, allocations: 12 kB / 374.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 4.905e-05/0.00751, allocations: 15.88 kB / 374.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.378e-06/0.007519, allocations: 0 / 374.9 MB, free: 5.453 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {sample1.u, 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: ........... 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: Performance of backend: time 5.722e-05/0.007576, allocations: 29.25 kB / 374.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004835/0.00806, allocations: 238.7 kB / 375.1 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Templates: time 0.002829/0.01089, allocations: 299.3 kB / 375.4 MB, free: 4.883 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,step.startTime,step.startValue,time [Calling sys.exit(0), Time elapsed: 4.865001936035696]