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.001961/0.001961, allocations: 106.5 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.002392/0.002392, allocations: 213.6 kB / 24.49 MB, free: 3.934 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2231/0.2231, allocations: 46.96 MB / 361.6 MB, free: 4.016 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+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 - loaded program: time 0.002004/0.002004, allocations: 67.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2851, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.00382/0.2889, allocations: 2.174 MB / 0.5639 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2905, allocations: 0.8657 MB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.2906, allocations: 7.938 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.2908, allocations: 39.48 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.291, allocations: 67.39 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.2914, allocations: 191.6 kB / 0.5651 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004174/0.2918, allocations: 382.9 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.2921, allocations: 100.6 kB / 0.5655 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.2923, allocations: 163.3 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.2926, allocations: 167.2 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.2926, allocations: 36.05 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.2927, allocations: 48 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.2928, allocations: 91.56 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.293, allocations: 131.3 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.2934, allocations: 420.9 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2935, allocations: 0 / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2935, allocations: 0 / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2935, allocations: 0 / 0.5666 GB, free: 15.29 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.001293/0.2948, allocations: 0.7345 MB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2948, allocations: 8.031 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004801/0.2953, allocations: 80.56 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.2958, allocations: 303 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.2959, allocations: 21.03 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.2959, allocations: 36.33 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.2965, allocations: 274.1 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2965, allocations: 0 / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.2965, allocations: 12 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.2966, allocations: 8 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.297, allocations: 194.5 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.2984, allocations: 0.6682 MB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.2988, allocations: 193.8 kB / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.299, allocations: 88.81 kB / 0.5691 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.299, allocations: 4 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004434/0.2995, allocations: 235.5 kB / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.2995, allocations: 0 / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.0008761/0.3004, allocations: 377.3 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3004, allocations: 55.41 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3007, allocations: 264.2 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.3007, allocations: 33.7 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.3009, allocations: 192.7 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.301, allocations: 99.17 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3011, allocations: 74.06 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3013, allocations: 342.8 kB / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3015, allocations: 96.69 kB / 0.5708 GB, free: 10.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.3018, allocations: 222.5 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.3024, allocations: 348.8 kB / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.3024, allocations: 4 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007037/0.3031, allocations: 381.3 kB / 0.5717 GB, free: 9.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3031, allocations: 11.94 kB / 0.5717 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3031, allocations: 7.984 kB / 0.5717 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3031, allocations: 11.98 kB / 0.5717 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.3034, allocations: 71.91 kB / 0.5718 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.3035, allocations: 15.92 kB / 0.5718 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.3036, allocations: 31.78 kB / 0.5718 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.3037, allocations: 23.98 kB / 0.5719 GB, free: 9.543 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.000186/0.3039, allocations: 161.8 kB / 0.572 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.3039, allocations: 35.75 kB / 0.572 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007117/0.3046, allocations: 320.3 kB / 0.5724 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3046, allocations: 3.938 kB / 0.5724 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3046, allocations: 0 / 0.5724 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.3047, allocations: 43.73 kB / 0.5724 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.3048, allocations: 8 kB / 0.5724 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3049, allocations: 11.98 kB / 0.5724 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.305, allocations: 23.95 kB / 0.5724 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000832/0.3058, allocations: 404.7 kB / 0.5728 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009906/0.3068, allocations: 0.628 MB / 0.5734 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002438/0.307, allocations: 112 kB / 0.5735 GB, free: 7.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.3072, allocations: 187.1 kB / 0.5737 GB, free: 7.586 MB / 414.1 MB Notification: Performance of Backend: time 4.31e-07/0.3072, allocations: 0 / 0.5737 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006858/0.3079, allocations: 254.3 kB / 0.574 GB, free: 7.332 MB / 414.1 MB Notification: Performance of SimCode: time 0.001183/0.3091, allocations: 1.048 MB / 0.575 GB, free: 6.234 MB / 414.1 MB Notification: Performance of Templates: time 0.008303/0.3174, allocations: 4.04 MB / 0.5789 GB, free: 2.246 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Mean/Mean.csv","/var/lib/jenkins1/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: 4.79609005599923]