Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 210.4 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2194/0.2194, allocations: 46.9 MB / 361.1 MB, free: 4.605 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5006,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 79.88 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2861, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.003953/0.29, allocations: 2.336 MB / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2918, allocations: 0.9163 MB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.292, allocations: 11.94 kB / 0.5644 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.2922, allocations: 39.53 kB / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.2925, allocations: 63.39 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.2929, allocations: 183.6 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.2934, allocations: 394.9 kB / 0.565 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.2937, allocations: 96 kB / 0.5651 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.2939, allocations: 159.3 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.2941, allocations: 167.1 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.2942, allocations: 36 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.704e-05/0.2943, allocations: 48 kB / 0.5655 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.31e-05/0.2944, allocations: 95.67 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.2945, allocations: 167 kB / 0.5658 GB, free: 328 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.295, allocations: 413.4 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.295, allocations: 0 / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.295, allocations: 8 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.295, allocations: 0 / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001263/0.2963, allocations: 0.7941 MB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2963, allocations: 8.031 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004537/0.2968, allocations: 84.61 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.2973, allocations: 360 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.2974, allocations: 28.94 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/0.2974, allocations: 32.33 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.2979, allocations: 276.9 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.298, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.298, allocations: 12 kB / 0.5677 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.298, allocations: 7.984 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.2984, allocations: 190.1 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.2998, allocations: 0.8306 MB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.3002, allocations: 194.8 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.3005, allocations: 88.8 kB / 0.569 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.3005, allocations: 7.938 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.3009, allocations: 231.1 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.3009, allocations: 4 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.0008412/0.3017, allocations: 365.9 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3018, allocations: 63.39 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.3021, allocations: 263 kB / 0.5699 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.3021, allocations: 41.64 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3022, allocations: 180.7 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.701e-05/0.3023, allocations: 107.1 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3024, allocations: 74.06 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3026, allocations: 342.8 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.3028, allocations: 88.7 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.3031, allocations: 235.1 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.3037, allocations: 340.8 kB / 0.5712 GB, free: 10.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3037, allocations: 7.984 kB / 0.5712 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006799/0.3043, allocations: 388.7 kB / 0.5716 GB, free: 9.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3044, allocations: 8 kB / 0.5716 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3044, allocations: 4.094 kB / 0.5716 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3044, allocations: 7.938 kB / 0.5716 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.3047, allocations: 80.3 kB / 0.5717 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3047, allocations: 8 kB / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.3049, allocations: 43.77 kB / 0.5717 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.3049, allocations: 12 kB / 0.5718 GB, free: 9.816 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,$PRE.mean.y_last,rectifiedMean.mean.y_last,$PRE.rectifiedMean.mean.y_last,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean1.y_last,harmonic.mean2.y_last,$PRE.harmonic.mean2.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.3051, allocations: 169.7 kB / 0.5719 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.3051, allocations: 31.75 kB / 0.5719 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006592/0.3058, allocations: 320.3 kB / 0.5722 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3058, allocations: 7.984 kB / 0.5723 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3058, allocations: 0 / 0.5723 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.3059, allocations: 104.9 kB / 0.5724 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.3059, allocations: 8 kB / 0.5724 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.3061, allocations: 11.98 kB / 0.5724 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.3062, allocations: 23.97 kB / 0.5724 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008227/0.307, allocations: 412.5 kB / 0.5728 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009652/0.308, allocations: 0.6272 MB / 0.5734 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002339/0.3082, allocations: 108 kB / 0.5735 GB, free: 7.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.3084, allocations: 190 kB / 0.5737 GB, free: 7.77 MB / 414.1 MB Notification: Performance of Backend: time 1.51e-07/0.3084, allocations: 0 / 0.5737 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007125/0.3091, allocations: 262.6 kB / 0.5739 GB, free: 7.504 MB / 414.1 MB Notification: Performance of SimCode: time 0.001152/0.3102, allocations: 1.044 MB / 0.575 GB, free: 6.406 MB / 414.1 MB Notification: Performance of Templates: time 0.007668/0.3179, allocations: 3.553 MB / 0.5784 GB, free: 2.863 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Mean_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Mean/Mean.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.964292920194566]