Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean.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.001327/0.001327, 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.001561/0.001561, allocations: 222.7 kB / 24.5 MB, free: 3.922 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.598/1.598, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2629/0.2629, allocations: 46.96 MB / 361.6 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mean.x|yMean|yRectifiedMean|yRootMeanSquare|yHarmonicCos|yHarmonicSin|yHarmonicAbs|yHarmonicArg",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mean.x|yMean|yRectifiedMean|yRootMeanSquare|yHarmonicCos|yHarmonicSin|yHarmonicAbs|yHarmonicArg",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.82e-05/3.82e-05, allocations: 10.16 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.004342/0.00438, allocations: 2.179 MB / 0.4994 GB, free: 5.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.006189, allocations: 0.8609 MB / 0.5002 GB, free: 4.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.00633, allocations: 7.938 kB / 0.5002 GB, free: 4.184 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.006498, allocations: 39.47 kB / 0.5003 GB, free: 4.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.006758, allocations: 71.38 kB / 0.5004 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.007234, allocations: 187.6 kB / 0.5005 GB, free: 3.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006558/0.00789, allocations: 470.9 kB / 0.501 GB, free: 3.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.00818, allocations: 96.95 kB / 0.5011 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.008533, allocations: 179.3 kB / 0.5012 GB, free: 3.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.008813, allocations: 159.2 kB / 0.5014 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.008877, allocations: 40 kB / 0.5014 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.008996, allocations: 51.94 kB / 0.5015 GB, free: 2.906 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006436/0.00964, allocations: 0.6803 MB / 0.5021 GB, free: 2.219 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003338/0.009974, allocations: 449.9 kB / 0.5026 GB, free: 1.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.01004, allocations: 28 kB / 0.5026 GB, free: 1.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.313e-05/0.01011, allocations: 23.84 kB / 0.5026 GB, free: 1.723 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 [SIM] Bindings: time 0.002315/0.01242, allocations: 1.701 MB / 0.5043 GB, free: 15.89 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003253/0.01275, allocations: 241.7 kB / 0.5045 GB, free: 15.64 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001156/0.01391, allocations: 1.03 MB / 0.5055 GB, free: 14.58 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003632/0.01427, allocations: 216.3 kB / 0.5057 GB, free: 14.32 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.002259/0.01653, allocations: 1.45 MB / 0.5071 GB, free: 12.68 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002347/0.01676, allocations: 161.9 kB / 0.5073 GB, free: 12.48 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001395/0.0169, allocations: 113.5 kB / 0.5074 GB, free: 12.34 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0004986/0.0174, allocations: 318.2 kB / 0.5077 GB, free: 11.97 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002786/0.01768, allocations: 166.4 kB / 0.5079 GB, free: 11.81 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005478/0.01823, allocations: 428.8 kB / 0.5083 GB, free: 11.31 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001089/0.01932, allocations: 0.7299 MB / 0.509 GB, free: 10.51 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007242/0.02004, allocations: 0.7103 MB / 0.5097 GB, free: 9.801 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0008458/0.02089, allocations: 0.5025 MB / 0.5102 GB, free: 9.227 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001193/0.02208, allocations: 1.104 MB / 0.5113 GB, free: 8.121 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 6.392e-05/0.02214, allocations: 35.94 kB / 0.5113 GB, free: 8.074 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001959/0.02234, allocations: 183.8 kB / 0.5115 GB, free: 7.895 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.003101/0.02544, allocations: 1.984 MB / 0.5134 GB, free: 5.883 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 4.269e-05/0.02548, allocations: 44 kB / 0.5134 GB, free: 5.84 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 1.011e-06/0.02548, allocations: 0 / 0.5134 GB, free: 5.84 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.722e-05/0.0255, allocations: 4.188 kB / 0.5135 GB, free: 5.836 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 2.222e-05/0.02552, allocations: 27.94 kB / 0.5135 GB, free: 5.809 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 3.393e-05/0.02556, allocations: 11.98 kB / 0.5135 GB, free: 5.797 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0007762/0.02633, allocations: 462.3 kB / 0.5139 GB, free: 5.344 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003751/0.02671, allocations: 293.9 kB / 0.5142 GB, free: 5.02 MB / 382.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: ................. 13 (13) {$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: ........... 39 (scalar:39, 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: ........... 78 (scalar:78, 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.0001812/0.02689, allocations: 38.27 kB / 0.5142 GB, free: 4.988 MB / 382.1 MB Notification: Performance of SimCode: time 0.002138/0.02903, allocations: 1.265 MB / 0.5155 GB, free: 3.699 MB / 382.1 MB Notification: Performance of Templates: time 0.007716/0.03675, allocations: 3.07 MB / 0.5185 GB, free: 0.6484 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Mean_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Mean/Mean.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.435296473093331]