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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 109 kB / 20.54 MB, free: 1.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 189.7 kB / 23.72 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 225.6 MB / 252.3 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1851/0.1851, allocations: 44.91 MB / 352.4 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 180] 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=5006,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.545e-05, allocations: 2.281 kB / 495.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.002982/0.002998, allocations: 2.261 MB / 498.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.004194, allocations: 0.783 MB / 499 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.0043, allocations: 4 kB / 499 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.00442, allocations: 35.53 kB / 499 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.004618, allocations: 63.44 kB / 499.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.00489, allocations: 147.7 kB / 499.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.005285, allocations: 415 kB / 499.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.005471, allocations: 100.4 kB / 499.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.005645, allocations: 147.4 kB / 499.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.005809, allocations: 143.3 kB / 500 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.005856, allocations: 36 kB / 0.4883 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.622e-05/0.005902, allocations: 36 kB / 0.4883 GB, free: 13.75 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004045/0.006307, allocations: 0.568 MB / 0.4889 GB, free: 13.18 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001976/0.006504, allocations: 339 kB / 0.4892 GB, free: 12.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.00657, allocations: 55.75 kB / 0.4893 GB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.138e-05/0.006612, allocations: 23.81 kB / 0.4893 GB, free: 12.76 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.001299/0.007911, allocations: 1.3 MB / 0.4906 GB, free: 11.34 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0002504/0.008161, allocations: 228.5 kB / 0.4908 GB, free: 11.12 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0005855/0.008747, allocations: 0.5929 MB / 0.4914 GB, free: 10.5 MB / 366.1 MB Notification: Performance of Simplify 1: time 0.0001972/0.008944, allocations: 167.5 kB / 0.4915 GB, free: 10.31 MB / 366.1 MB Notification: Performance of Alias: time 0.00165/0.01059, allocations: 1.334 MB / 0.4928 GB, free: 8.789 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.000128/0.01072, allocations: 118.6 kB / 0.4929 GB, free: 8.648 MB / 366.1 MB Notification: Performance of Remove Stream: time 0.0001116/0.01083, allocations: 110.6 kB / 0.493 GB, free: 8.512 MB / 366.1 MB Notification: Performance of Detect States: time 0.0003991/0.01123, allocations: 298.3 kB / 0.4933 GB, free: 8.184 MB / 366.1 MB Notification: Performance of Events: time 0.0002365/0.01147, allocations: 178.1 kB / 0.4935 GB, free: 8.012 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0003643/0.01183, allocations: 366.7 kB / 0.4938 GB, free: 7.578 MB / 366.1 MB Notification: Performance of Causalize: time 0.001216/0.01305, allocations: 1.047 MB / 0.4949 GB, free: 6.457 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004435/0.01349, allocations: 487.5 kB / 0.4953 GB, free: 5.98 MB / 366.1 MB Notification: Performance of Simplify: time 0.0004899/0.01398, allocations: 415.5 kB / 0.4957 GB, free: 5.531 MB / 366.1 MB Notification: Performance of Inline: time 0.0006028/0.01458, allocations: 0.6476 MB / 0.4964 GB, free: 4.875 MB / 366.1 MB Notification: Performance of Partitioning: time 4.643e-05/0.01463, allocations: 35.62 kB / 0.4964 GB, free: 4.836 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0001405/0.01477, allocations: 179.8 kB / 0.4966 GB, free: 4.66 MB / 366.1 MB Notification: Performance of Causalize: time 0.002933/0.0177, allocations: 2.437 MB / 0.4989 GB, free: 2.188 MB / 366.1 MB Notification: Performance of Tearing: time 1.119e-05/0.01772, allocations: 0 / 0.4989 GB, free: 2.188 MB / 366.1 MB Notification: Performance of Initialization: time 4.31e-07/0.01772, allocations: 0 / 0.4989 GB, free: 2.188 MB / 366.1 MB Notification: Performance of Remove Dummies: time 1.005e-05/0.01773, allocations: 15.94 kB / 0.499 GB, free: 2.172 MB / 366.1 MB Notification: Performance of Tearing: time 4.989e-06/0.01773, allocations: 3.938 kB / 0.499 GB, free: 2.168 MB / 366.1 MB Notification: Performance of Categorize: time 1.3e-05/0.01774, allocations: 4 kB / 0.499 GB, free: 2.164 MB / 366.1 MB Notification: Performance of Solve: time 0.0002683/0.01801, allocations: 158.1 kB / 0.4991 GB, free: 2.012 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0002766/0.01829, allocations: 310 kB / 0.4994 GB, free: 1.672 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) {} * 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 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: ........... 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 (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: ........... 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001012/0.01839, allocations: 50.17 kB / 0.4995 GB, free: 1.625 MB / 366.1 MB Notification: Performance of SimCode: time 0.001413/0.0198, allocations: 1.735 MB / 0.5012 GB, free: 15.84 MB / 382.1 MB Notification: Performance of Templates: time 0.005735/0.02554, allocations: 2.794 MB / 0.5039 GB, free: 13.05 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.195942976512015]