Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.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.001297/0.001297, 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.001473/0.001473, allocations: 217.1 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mean.y|rectifiedMean.y|rootMeanSquare.y|harmonic.mean1.y|harmonic.mean2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic") translateModel(Modelica.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mean.y|rectifiedMean.y|rootMeanSquare.y|harmonic.mean1.y|harmonic.mean2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/2.923e-05, allocations: 2.281 kB / 378.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.00362/0.00365, allocations: 2.148 MB / 381.1 MB, free: 360 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2063/0.21, allocations: 0.9038 MB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.2102, allocations: 11.44 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.2103, allocations: 36.91 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.2107, allocations: 107.3 kB / 382.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.2111, allocations: 175.9 kB / 382.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.2116, allocations: 0.4895 MB / 382.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.2118, allocations: 93.58 kB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.2122, allocations: 202.8 kB / 383.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.2124, allocations: 184.1 kB / 383.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.147e-05/0.2125, allocations: 40.25 kB / 383.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.2126, allocations: 54.02 kB / 383.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005475/0.2131, allocations: 0.7996 MB / 384.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002257/0.2134, allocations: 459.5 kB / 384.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.2134, allocations: 23.22 kB / 384.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.437e-05/0.2135, allocations: 23.62 kB / 384.7 MB, free: 12.18 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: 53 (53) * Number of variables: 53 (50) Notification: Performance of [SIM] Bindings: time 0.001681/0.2152, allocations: 1.757 MB / 386.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002369/0.2154, allocations: 200.5 kB / 386.6 MB, free: 11 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009821/0.2164, allocations: 0.9783 MB / 387.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003139/0.2167, allocations: 213 kB / 387.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00171/0.2184, allocations: 1.239 MB / 389 MB, free: 9.547 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002403/0.2187, allocations: 177.8 kB / 389.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001419/0.2188, allocations: 127.3 kB / 389.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004424/0.2193, allocations: 346.5 kB / 389.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002816/0.2195, allocations: 197.7 kB / 389.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004819/0.22, allocations: 432.7 kB / 390.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001059/0.2211, allocations: 0.708 MB / 391 MB, free: 8.422 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008073/0.2219, allocations: 0.758 MB / 391.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001334/0.2232, allocations: 0.7887 MB / 392.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001308/0.2245, allocations: 1.258 MB / 393.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.11e-05/0.2246, allocations: 40.36 kB / 393.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002067/0.2248, allocations: 207 kB / 394 MB, free: 6.824 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003894/0.2287, allocations: 2.502 MB / 396.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.69e-05/0.2287, allocations: 49.38 kB / 396.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.81e-07/0.2287, allocations: 0 / 396.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.259e-05/0.2288, allocations: 5.266 kB / 396.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.775e-05/0.2288, allocations: 35.5 kB / 396.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.982e-05/0.2288, allocations: 2 kB / 396.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007589/0.2295, allocations: 0.5465 MB / 397.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002767/0.2298, allocations: 307.2 kB / 397.5 MB, free: 5.707 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: ............... 1 * Number of algebraic event partitions: ......... 9 * 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: ............................. 5 (5) {mean.x, rectifiedMean.mean.x, rootMeanSquare.mean.x, harmonic.mean1.x, harmonic.mean2.x} * Number of discrete states: .................... 7 (7) {harmonic.mean2.y_last, harmonic.mean1.y_last, rootMeanSquare.mean.y_last, rectifiedMean.y, mean.y, pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {$SEV_2, $SEV_1, $SEV_0, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 38 (scalar:38, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, 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: ........... 99 (scalar:99, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 0.0001481/0.23, allocations: 59.72 kB / 397.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of SimCode: time 0.00176/0.2317, allocations: 1.316 MB / 398.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of Templates: time 0.008884/0.2406, allocations: 3.923 MB / 402.8 MB, free: 2.918 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/DemoSignalCharacteristic/DemoSignalCharacteristic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,mean.y,rectifiedMean.y,rootMeanSquare.y,harmonic.mean1.y,harmonic.mean2.y Variables in the result:app,dutyCycle,f,harmonic.f,harmonic.gain.k,harmonic.k,harmonic.mean1.f,harmonic.mean1.t0,harmonic.mean1.x0,harmonic.mean1.y,harmonic.mean1.y0,harmonic.mean1.yGreaterOrEqualZero,harmonic.mean1.y_last,harmonic.mean2.f,harmonic.mean2.t0,harmonic.mean2.x0,harmonic.mean2.y,harmonic.mean2.y0,harmonic.mean2.yGreaterOrEqualZero,harmonic.mean2.y_last,harmonic.product1.significantDigits,harmonic.product2.significantDigits,harmonic.sin1.amplitude,harmonic.sin1.continuous,harmonic.sin1.f,harmonic.sin1.offset,harmonic.sin1.phase,harmonic.sin1.startTime,harmonic.sin2.amplitude,harmonic.sin2.continuous,harmonic.sin2.f,harmonic.sin2.offset,harmonic.sin2.phase,harmonic.sin2.startTime,harmonic.x0Cos,harmonic.x0Sin,harmonic.y0Cos,harmonic.y0Sin,mean.f,mean.t0,mean.x0,mean.y,mean.y,mean.y0,mean.yGreaterOrEqualZero,offset,pulse.amplitude,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,rectifiedMean.abs1.generateEvent,rectifiedMean.f,rectifiedMean.mean.f,rectifiedMean.mean.t0,rectifiedMean.mean.x0,rectifiedMean.mean.y0,rectifiedMean.mean.yGreaterOrEqualZero,rectifiedMean.x0,rectifiedMean.y,rectifiedMean.y,rectifiedMean.y0,rootMeanSquare.f,rootMeanSquare.mean.f,rootMeanSquare.mean.t0,rootMeanSquare.mean.x0,rootMeanSquare.mean.y0,rootMeanSquare.mean.yGreaterOrEqualZero,rootMeanSquare.product.significantDigits,rootMeanSquare.x0,rootMeanSquare.y,rootMeanSquare.y0,time,y1_arg,y1_cos,y1_rms,y1_sin,y_mean,y_rect,y_rms [Calling sys.exit(0), Time elapsed: 4.702290660236031]