Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.00205/0.00205, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.00257/0.00257, allocations: 204.6 kB / 24.49 MB, free: 3.965 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.568/1.568, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/2.939e-05, allocations: 4.953 kB / 378.9 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003207/0.003237, allocations: 1.821 MB / 380.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.00458, allocations: 0.7127 MB / 381.5 MB, free: 56 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.004677, allocations: 4 kB / 381.5 MB, free: 52 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.004809, allocations: 19.73 kB / 381.5 MB, free: 32 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.004967, allocations: 27.78 kB / 381.5 MB, free: 4 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1929/0.1978, allocations: 160.1 kB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.1983, allocations: 187.6 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1985, allocations: 51.66 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.1988, allocations: 77.7 kB / 382 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1989, allocations: 58.73 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.1989, allocations: 12.12 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1991, allocations: 56.94 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002289/0.1993, allocations: 273.7 kB / 382.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001056/0.1994, allocations: 185.4 kB / 382.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.1994, allocations: 7.406 kB / 382.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.835e-05/0.1995, allocations: 8.969 kB / 382.6 MB, free: 12.75 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: 21 (18) * Number of variables: 21 (19) Notification: Performance of [SIM] Bindings: time 0.0008984/0.2004, allocations: 0.7164 MB / 383.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002203/0.2006, allocations: 107.3 kB / 383.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004648/0.2011, allocations: 384.1 kB / 383.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001563/0.2012, allocations: 113.5 kB / 383.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001336/0.2026, allocations: 0.6684 MB / 384.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001069/0.2027, allocations: 96.19 kB / 384.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.403e-05/0.2027, allocations: 56.81 kB / 384.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002232/0.203, allocations: 140.6 kB / 384.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001261/0.2031, allocations: 51.08 kB / 384.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002778/0.2034, allocations: 164 kB / 385.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0005956/0.204, allocations: 310.5 kB / 385.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003266/0.2043, allocations: 252.6 kB / 385.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004151/0.2047, allocations: 229.7 kB / 385.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0003953/0.2051, allocations: 340.2 kB / 386.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.715e-05/0.2051, allocations: 12.64 kB / 386.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000105/0.2052, allocations: 49.25 kB / 386.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0005652/0.2058, allocations: 323.1 kB / 386.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.064e-05/0.2058, allocations: 5.406 kB / 386.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.2e-07/0.2058, allocations: 0 / 386.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.496e-06/0.2058, allocations: 1.75 kB / 386.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 9.658e-06/0.2058, allocations: 17.88 kB / 386.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.239e-05/0.2058, allocations: 1.438 kB / 386.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002441/0.2061, allocations: 143.3 kB / 386.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.873e-06/0.2061, allocations: 1.344 kB / 386.7 MB, free: 10.83 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: .................... 1 (1) {assignClock.y} * Number of clocked states: ..................... 3 (1) {sample1.noise.seedState} * Number of discrete variables: ................. 11 (7) {$FUN_1, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $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: ........... 13 (scalar:12, array:1, 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.544e-05/0.2061, allocations: 31.56 kB / 386.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of SimCode: time 0.001699/0.2078, allocations: 0.7479 MB / 387.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Templates: time 0.05976/0.2676, allocations: 1.921 MB / 389.4 MB, free: 10.25 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.u,assignClock.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.bits,sample1.limited,sample1.limiter.uMax,sample1.limiter.uMin,sample1.noise.firstSeed[1],sample1.noise.firstSeed[2],sample1.noise.firstSeed[3],sample1.noise.noiseMax,sample1.noise.noiseMin,sample1.noisy,sample1.quantization.bits,sample1.quantization.quantized,sample1.quantization.resolution,sample1.quantization.yMax,sample1.quantization.yMin,sample1.quantized,sample1.y,sample1.yMax,sample1.yMin,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time [Calling sys.exit(0), Time elapsed: 5.268340325914323]