Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 113.8 kB / 17.1 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 190.7 kB / 18.03 MB, free: 4.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2397/0.2397, allocations: 43.51 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.713e-05, allocations: 2.281 kB / 442.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.002973/0.003008, allocations: 2.228 MB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.004374, allocations: 0.8072 MB / 445.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.004529, allocations: 11.88 kB / 445.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.00469, allocations: 35.59 kB / 445.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.00492, allocations: 51.45 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.005216, allocations: 147.7 kB / 445.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.005564, allocations: 398.9 kB / 446.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.005808, allocations: 141.8 kB / 446.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.005999, allocations: 139.5 kB / 446.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.006149, allocations: 143.3 kB / 446.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.006201, allocations: 32 kB / 446.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.456e-05/0.006251, allocations: 32 kB / 446.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002594/0.006515, allocations: 0.498 MB / 447.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.856e-05/0.00661, allocations: 319.1 kB / 447.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.006671, allocations: 51.81 kB / 447.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.313e-05/0.006729, allocations: 15.88 kB / 447.4 MB, free: 0.6602 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 (59) * Number of variables: 59 (56) Notification: Performance of Bindings: time 0.001311/0.008044, allocations: 1.538 MB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0002152/0.008266, allocations: 173.3 kB / 449.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0007762/0.00905, allocations: 0.7999 MB / 449.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simplify1: time 7.622e-05/0.009136, allocations: 71.91 kB / 450 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Alias: time 0.001639/0.01078, allocations: 1.393 MB / 451.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simplify2: time 5.799e-05/0.01085, allocations: 59.91 kB / 451.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of Events: time 0.0002614/0.01112, allocations: 198.1 kB / 451.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Detect States: time 0.0004365/0.01156, allocations: 370.7 kB / 452 MB, free: 11.76 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0003555/0.01193, allocations: 318.8 kB / 452.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of Causalize: time 0.001352/0.01329, allocations: 1.14 MB / 453.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007824/0.01408, allocations: 0.7514 MB / 454.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of Inline: time 0.001337/0.01543, allocations: 1.136 MB / 455.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of Partitioning: time 9.318e-05/0.01553, allocations: 75.59 kB / 455.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of Cleanup: time 6.3e-05/0.0156, allocations: 59.88 kB / 455.5 MB, free: 8.07 MB / 334.1 MB Notification: Performance of Causalize: time 0.003638/0.01924, allocations: 3.097 MB / 458.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of Tearing: time 9.357e-06/0.01927, allocations: 8 kB / 458.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of Initialization: time 1.152e-06/0.01927, allocations: 0 / 458.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of Tearing: time 6.412e-06/0.01929, allocations: 3.938 kB / 458.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of Categorize: time 2.039e-05/0.01931, allocations: 4 kB / 458.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of Solve: time 0.0003494/0.01966, allocations: 206 kB / 458.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of Jacobian: time 0.000382/0.02006, allocations: 374.1 kB / 459.2 MB, free: 4.316 MB / 334.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: .................... 5 (5) {harmonic.mean2.y, harmonic.mean1.y, rootMeanSquare.mean.y, yRectifiedMean, yMean} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 14 (14) {$SEV_0, $TEV_12, $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 top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 80 (scalar:80, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001633/0.02023, allocations: 40.12 kB / 459.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of SimCode: time 0.00158/0.02182, allocations: 1.796 MB / 461 MB, free: 2.449 MB / 334.1 MB Notification: Performance of Templates: time 0.006354/0.02818, allocations: 2.777 MB / 463.8 MB, free: 15.67 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Mean/Mean.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.x,mean.y Variables in the result:cosine.amplitude,cosine.freqHz,cosine.offset,cosine.phase,cosine.startTime,harmonic.f,harmonic.gain.k,harmonic.k,harmonic.mean1.f,harmonic.mean1.t0,harmonic.mean1.x0,harmonic.mean1.yGreaterOrEqualZero,harmonic.mean2.f,harmonic.mean2.t0,harmonic.mean2.x0,harmonic.mean2.yGreaterOrEqualZero,harmonic.product1.significantDigits,harmonic.product2.significantDigits,harmonic.sin1.amplitude,harmonic.sin1.freqHz,harmonic.sin1.offset,harmonic.sin1.phase,harmonic.sin1.startTime,harmonic.sin2.amplitude,harmonic.sin2.freqHz,harmonic.sin2.offset,harmonic.sin2.phase,harmonic.sin2.startTime,harmonic.x0Cos,harmonic.x0Sin,mean.f,mean.t0,mean.x,mean.x0,mean.y,mean.yGreaterOrEqualZero,rectifiedMean.abs1.generateEvent,rectifiedMean.f,rectifiedMean.mean.f,rectifiedMean.mean.t0,rectifiedMean.mean.x0,rectifiedMean.mean.yGreaterOrEqualZero,rectifiedMean.x0,rootMeanSquare.f,rootMeanSquare.mean.f,rootMeanSquare.mean.t0,rootMeanSquare.mean.x0,rootMeanSquare.mean.yGreaterOrEqualZero,rootMeanSquare.product.significantDigits,rootMeanSquare.x0,time,yMean