Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 102.3 kB / 18.46 MB, free: 4.613 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.001041/0.001041, allocations: 192.2 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.228e-05, allocations: 2.281 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.003025/0.003055, allocations: 2.243 MB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.004363, allocations: 0.7752 MB / 474.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.004509, allocations: 4 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.004664, allocations: 35.55 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.004877, allocations: 59.44 kB / 474.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.00517, allocations: 147.7 kB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.005576, allocations: 407 kB / 474.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.005819, allocations: 140.4 kB / 474.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.005987, allocations: 147.4 kB / 475.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.00615, allocations: 147.2 kB / 475.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.006207, allocations: 40 kB / 475.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.006254, allocations: 32 kB / 475.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0003302/0.00659, allocations: 0.5096 MB / 475.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001551/0.006752, allocations: 331 kB / 476.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.006822, allocations: 51.81 kB / 476.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.58e-05/0.006875, allocations: 23.81 kB / 476.2 MB, free: 8.141 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 (64) * Number of variables: 64 (61) Notification: Performance of Bindings: time 0.001418/0.008298, allocations: 1.615 MB / 477.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002201/0.008526, allocations: 168.5 kB / 478 MB, free: 6.258 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0007216/0.009257, allocations: 0.8272 MB / 478.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simplify1: time 8.651e-05/0.009353, allocations: 91.86 kB / 478.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of Alias: time 0.001618/0.01098, allocations: 1.534 MB / 480.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simplify2: time 6.85e-05/0.01106, allocations: 47.94 kB / 480.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of Events: time 0.0002595/0.01132, allocations: 218 kB / 480.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003633/0.01169, allocations: 365 kB / 481.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003167/0.01202, allocations: 318.9 kB / 481.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Causalize: time 0.001304/0.01333, allocations: 1.148 MB / 482.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006774/0.01402, allocations: 0.7547 MB / 483.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of Inline: time 0.001104/0.01513, allocations: 1.128 MB / 484.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of Partitioning: time 7.819e-05/0.01522, allocations: 79.59 kB / 484.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Cleanup: time 5.881e-05/0.01529, allocations: 67.86 kB / 484.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Causalize: time 0.003395/0.01869, allocations: 3.108 MB / 487.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Tearing: time 7.353e-06/0.01871, allocations: 4 kB / 487.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Initialization: time 5.91e-07/0.01872, allocations: 0 / 487.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Tearing: time 7.945e-06/0.01873, allocations: 7.922 kB / 487.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Categorize: time 1.719e-05/0.01875, allocations: 4 kB / 487.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Solve: time 0.0003166/0.01907, allocations: 206 kB / 487.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0003095/0.01939, allocations: 379.4 kB / 488.2 MB, free: 11.5 MB / 366.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_last, harmonic.mean1.y_last, rootMeanSquare.mean.y_last, 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.000106/0.01951, allocations: 40.03 kB / 488.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 0.001284/0.0208, allocations: 1.814 MB / 490.1 MB, free: 9.613 MB / 366.1 MB Notification: Performance of Templates: time 0.005843/0.02665, allocations: 2.79 MB / 492.9 MB, free: 6.82 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Mean/Mean.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.f,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.f,harmonic.sin1.offset,harmonic.sin1.phase,harmonic.sin1.startTime,harmonic.sin2.amplitude,harmonic.sin2.f,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