Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.0008246/0.0008246, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001953, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006612/0.0006612, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009139/0.001575, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8448/0.8448, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1346/0.9795, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] 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(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.694e-05, allocations: 2.312 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002939/0.002956, allocations: 1.888 MB / 241.7 MB, free: 4.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.005149, allocations: 1.254 MB / 242.9 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.005244, allocations: 0 / 242.9 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.444e-05/0.005328, allocations: 19.73 kB / 242.9 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.00543, allocations: 30.73 kB / 243 MB, free: 3.172 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.006181, allocations: 302.8 kB / 243.3 MB, free: 2.875 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.006431, allocations: 211.5 kB / 243.5 MB, free: 2.668 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.006569, allocations: 46.53 kB / 243.5 MB, free: 2.621 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.006781, allocations: 156.5 kB / 243.7 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.007244, allocations: 102.3 kB / 243.8 MB, free: 2.379 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.007276, allocations: 21.22 kB / 243.8 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.007646, allocations: 335.2 kB / 244.1 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.007695, allocations: 47.88 kB / 244.1 MB, free: 1.984 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.007743, allocations: 52.84 kB / 244.2 MB, free: 1.934 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.008077, allocations: 314.9 kB / 244.5 MB, free: 1.625 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.008088, allocations: 4.906 kB / 244.5 MB, free: 1.621 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.008089, allocations: 0 / 244.5 MB, free: 1.621 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.008101, allocations: 0 / 244.5 MB, free: 1.621 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006322/0.008733, allocations: 0.5223 MB / 245 MB, free: 1.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.008762, allocations: 19.92 kB / 245.1 MB, free: 1.051 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.008938, allocations: 126.6 kB / 245.2 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.009078, allocations: 173 kB / 245.3 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.009102, allocations: 16.64 kB / 245.4 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.009131, allocations: 27.88 kB / 245.4 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.009306, allocations: 125.8 kB / 245.5 MB, free: 0.543 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.009312, allocations: 1.469 kB / 245.5 MB, free: 0.543 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.009324, allocations: 4 kB / 245.5 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.009341, allocations: 8 kB / 245.5 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.173e-05/0.009402, allocations: 36.53 kB / 245.6 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.00985, allocations: 359.2 kB / 245.9 MB, free: 132 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.01014, allocations: 177.2 kB / 246.1 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.01018, allocations: 48.75 kB / 246.1 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.0102, allocations: 7.938 kB / 246.1 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.01032, allocations: 99.14 kB / 246.2 MB, free: 15.78 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.01032, allocations: 3.938 kB / 246.2 MB, free: 15.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001834/0.0105, allocations: 131.8 kB / 246.4 MB, free: 15.64 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.01053, allocations: 56.41 kB / 246.4 MB, free: 15.58 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.01063, allocations: 183.9 kB / 246.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.01065, allocations: 38.44 kB / 246.6 MB, free: 15.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.0107, allocations: 116.6 kB / 246.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.01074, allocations: 87.97 kB / 246.8 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.0108, allocations: 69.64 kB / 246.9 MB, free: 15.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.01088, allocations: 331.3 kB / 247.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.01093, allocations: 34.81 kB / 247.3 MB, free: 14.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.011, allocations: 70.41 kB / 247.3 MB, free: 14.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.01112, allocations: 114.7 kB / 247.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01112, allocations: 0 / 247.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001629/0.01129, allocations: 170.9 kB / 247.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.0113, allocations: 4 kB / 247.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.0113, allocations: 11.97 kB / 247.6 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.01131, allocations: 0 / 247.6 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.01149, allocations: 83.88 kB / 247.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.01149, allocations: 4 kB / 247.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/0.01156, allocations: 43.75 kB / 247.8 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.01158, allocations: 8 kB / 247.8 MB, free: 14.18 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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 7.659e-05/0.01165, allocations: 136.6 kB / 247.9 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.01167, allocations: 15.98 kB / 247.9 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.01171, allocations: 21.91 kB / 247.9 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01171, allocations: 4 kB / 247.9 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01171, allocations: 0 / 247.9 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01172, allocations: 3.984 kB / 247.9 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.01204, allocations: 372.6 kB / 248.3 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01204, allocations: 3.938 kB / 248.3 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01215, allocations: 47.95 kB / 248.4 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.01217, allocations: 23.8 kB / 248.4 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01217, allocations: 0 / 248.4 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01219, allocations: 7.984 kB / 248.4 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01219, allocations: 4 kB / 248.4 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01219, allocations: 4 kB / 248.4 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.01239, allocations: 292.9 kB / 248.7 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.01241, allocations: 11.94 kB / 248.7 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.01248, allocations: 23.97 kB / 248.7 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.01251, allocations: 11.98 kB / 248.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.01252, allocations: 7.984 kB / 248.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.01256, allocations: 48.8 kB / 248.8 MB, free: 13.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01256, allocations: 0 / 248.8 MB, free: 13.11 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000218/0.01278, allocations: 103.7 kB / 248.9 MB, free: 13 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004943/0.01327, allocations: 314.5 kB / 249.2 MB, free: 12.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.01343, allocations: 118.3 kB / 249.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.01344, allocations: 7.938 kB / 249.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.01351, allocations: 59.42 kB / 249.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.01372, allocations: 205.9 kB / 249.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.01423, allocations: 378.6 kB / 249.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.01428, allocations: 83.97 kB / 250 MB, free: 11.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.897e-05/0.01434, allocations: 25.64 kB / 250.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.01444, allocations: 91.28 kB / 250.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01444, allocations: 0 / 250.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of Templates: time 0.005239/0.01968, allocations: 4.168 MB / 254.3 MB, free: 7.598 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0615541534498334]