Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Mean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Mean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002009/0.002009, allocations: 115 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001761/0.001761, allocations: 213.1 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.104/1.104, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1663/0.1663, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.127e-06/9.137e-06, allocations: 2.281 kB / 481.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.002451/0.002468, allocations: 2.324 MB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003627, allocations: 0.8958 MB / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003737, allocations: 4 kB / 485.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.003852, allocations: 39.53 kB / 485.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.004036, allocations: 63.33 kB / 485.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.004344, allocations: 183.7 kB / 485.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.004702, allocations: 438.8 kB / 485.8 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.004904, allocations: 136.4 kB / 486 MB, free: 56 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.005106, allocations: 155.5 kB / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.005251, allocations: 159.1 kB / 486.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.005304, allocations: 36 kB / 486.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-05/0.005391, allocations: 48 kB / 486.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.000291/0.005693, allocations: 0.5636 MB / 486.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001552/0.005854, allocations: 362.4 kB / 487.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.005916, allocations: 55.81 kB / 487.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.838e-05/0.005959, allocations: 23.81 kB / 487.4 MB, free: 14.65 MB / 366.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.001223/0.007186, allocations: 1.716 MB / 489.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001264/0.00732, allocations: 128 kB / 489.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0007159/0.008043, allocations: 0.9559 MB / 490.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simplify1: time 5.96e-05/0.00811, allocations: 75.89 kB / 490.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Alias: time 0.001364/0.00948, allocations: 1.491 MB / 491.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simplify2: time 4.725e-05/0.009537, allocations: 55.94 kB / 491.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of Events: time 0.0002159/0.009758, allocations: 213.3 kB / 492 MB, free: 9.719 MB / 366.1 MB Notification: Performance of Detect States: time 0.0003894/0.01016, allocations: 372.3 kB / 492.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of Partitioning: time 0.000264/0.01043, allocations: 297.2 kB / 492.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of Causalize: time 0.001031/0.01147, allocations: 1.083 MB / 493.7 MB, free: 7.816 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005681/0.01204, allocations: 0.743 MB / 494.5 MB, free: 7.047 MB / 366.1 MB Notification: Performance of Inline: time 0.001023/0.01307, allocations: 1.304 MB / 495.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of Partitioning: time 6.849e-05/0.01315, allocations: 79.55 kB / 495.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of Cleanup: time 4.351e-05/0.0132, allocations: 55.94 kB / 495.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of Causalize: time 0.003051/0.01625, allocations: 3.137 MB / 499 MB, free: 2.398 MB / 366.1 MB Notification: Performance of Tearing: time 9.128e-06/0.01627, allocations: 4 kB / 499 MB, free: 2.395 MB / 366.1 MB Notification: Performance of Initialization: time 2.8e-07/0.01628, allocations: 0 / 499 MB, free: 2.395 MB / 366.1 MB Notification: Performance of Tearing: time 3.767e-06/0.01628, allocations: 3.938 kB / 499 MB, free: 2.391 MB / 366.1 MB Notification: Performance of Categorize: time 8.996e-06/0.0163, allocations: 4 kB / 499 MB, free: 2.387 MB / 366.1 MB Notification: Performance of Solve: time 0.0002631/0.01656, allocations: 218.2 kB / 499.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0002601/0.01683, allocations: 366 kB / 499.6 MB, free: 1.773 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: ........... 40 (scalar:40, 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: ........... 79 (scalar:79, 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 5.143e-05/0.01689, allocations: 43.06 kB / 499.7 MB, free: 1.734 MB / 366.1 MB Notification: Performance of SimCode: time 0.001175/0.01807, allocations: 1.859 MB / 0.4898 GB, free: 15.84 MB / 382.1 MB Notification: Performance of Templates: time 0.004841/0.02292, allocations: 2.851 MB / 0.4925 GB, free: 12.99 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Mean.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Mean.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Mean -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Mean.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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.continuous,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.y0,harmonic.mean1.yGreaterOrEqualZero,harmonic.mean2.f,harmonic.mean2.t0,harmonic.mean2.x0,harmonic.mean2.y0,harmonic.mean2.yGreaterOrEqualZero,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.x,mean.x0,mean.y,mean.y0,mean.yGreaterOrEqualZero,rectifiedMean.abs1.generateEvent,rectifiedMean.f,rectifiedMean.mean.f,rectifiedMean.mean.t0,rectifiedMean.mean.x0,rectifiedMean.mean.y0,rectifiedMean.mean.yGreaterOrEqualZero,rectifiedMean.x0,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.y0,time,yMean