Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001899/0.001899, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002602/0.002602, allocations: 218.9 kB / 24.5 MB, free: 3.926 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.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.701e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003784/0.003811, allocations: 1.907 MB / 380.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2124/0.2162, allocations: 1.169 MB / 382 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.2164, allocations: 7.844 kB / 382 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.2171, allocations: 161.8 kB / 382.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.2175, allocations: 158.7 kB / 382.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.2181, allocations: 180 kB / 382.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.2185, allocations: 250.8 kB / 382.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2186, allocations: 27.62 kB / 382.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.2188, allocations: 118.7 kB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.2189, allocations: 93.12 kB / 383 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2189, allocations: 9.5 kB / 383 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.2191, allocations: 61.75 kB / 383 MB, free: 12.88 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002418/0.2193, allocations: 318.9 kB / 383.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001118/0.2195, allocations: 219.3 kB / 383.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.2195, allocations: 8.094 kB / 383.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.16e-05/0.2195, allocations: 6.125 kB / 383.6 MB, free: 12.58 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: 13 (13) * Number of variables: 13 (13) Notification: Performance of [SIM] Bindings: time 0.0008751/0.2204, allocations: 0.7448 MB / 384.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000114/0.2205, allocations: 70.36 kB / 384.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000201/0.2207, allocations: 209.5 kB / 384.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.53e-05/0.2208, allocations: 92.05 kB / 384.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007209/0.2215, allocations: 450.5 kB / 385.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.582e-05/0.2216, allocations: 89.92 kB / 385.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.489e-05/0.2217, allocations: 55.14 kB / 385.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002023/0.2219, allocations: 131.8 kB / 385.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.271e-05/0.222, allocations: 26.62 kB / 385.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004727/0.2224, allocations: 216.4 kB / 385.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003015/0.2227, allocations: 198.6 kB / 385.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001293/0.2229, allocations: 155.8 kB / 386 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002056/0.2249, allocations: 401.3 kB / 386.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002495/0.2252, allocations: 247.7 kB / 386.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.397e-05/0.2252, allocations: 13.92 kB / 386.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.161e-05/0.2252, allocations: 49.23 kB / 386.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0009521/0.2262, allocations: 0.6283 MB / 387.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.627e-05/0.2262, allocations: 10.81 kB / 387.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.114e-06/0.2262, allocations: 5.312 kB / 387.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.474e-06/0.2262, allocations: 4 kB / 387.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.268e-06/0.2262, allocations: 6.812 kB / 387.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.838e-06/0.2262, allocations: 5.5 kB / 387.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001993/0.2264, allocations: 128.6 kB / 387.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.955e-06/0.2264, allocations: 5.344 kB / 387.5 MB, free: 10.59 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: .................... 2 (2) {table.combiTimeTable.nextTimeEvent, table.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {sample1.u, shiftSample1.u, backSample1.u, backSample1.y, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 18 (scalar:16, array:1, record:1) * Number of multi strong components: ............ 2 (algorithm:2, 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 3.751e-05/0.2265, allocations: 33.2 kB / 387.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of SimCode: time 0.0026/0.2291, allocations: 0.9969 MB / 388.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Templates: time 0.01362/0.2427, allocations: 1.904 MB / 390.4 MB, free: 9.895 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,shiftSample1.y,backSample1.y Variables in the result:backSample1.backCounter,backSample1.resolution,backSample1.u,backSample1.y,backSample1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,shiftSample1.u,shiftSample1.y,table.combiTimeTable.columns[1],table.combiTimeTable.extrapolation,table.combiTimeTable.isCsvExt,table.combiTimeTable.nHeaderLines,table.combiTimeTable.nout,table.combiTimeTable.offset[1],table.combiTimeTable.p_offset[1],table.combiTimeTable.shiftTime,table.combiTimeTable.smoothness,table.combiTimeTable.startTime,table.combiTimeTable.t_max,table.combiTimeTable.t_maxScaled,table.combiTimeTable.t_min,table.combiTimeTable.t_minScaled,table.combiTimeTable.tableOnFile,table.combiTimeTable.table[1,1],table.combiTimeTable.table[1,2],table.combiTimeTable.table[2,1],table.combiTimeTable.table[2,2],table.combiTimeTable.table[3,1],table.combiTimeTable.table[3,2],table.combiTimeTable.timeEvents,table.combiTimeTable.timeScale,table.combiTimeTable.timeScaled,table.combiTimeTable.verboseExtrapolation,table.combiTimeTable.verboseRead,table.extrapolation,table.n,table.realToBoolean.threshold,table.shiftTime,table.startTime,table.startValue,table.table[1],table.table[2],time [Calling sys.exit(0), Time elapsed: 4.753000509925187]