Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001001/0.001001, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009297/0.0009297, allocations: 147.5 kB / 24.89 MB, free: 8.695 MB / 18.57 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.9412/0.9412, allocations: 173.3 MB / 201.5 MB, free: 9.219 MB / 186.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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.76e-05, allocations: 2.312 kB / 268.5 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002459/0.002477, allocations: 1.889 MB / 270.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.003766, allocations: 0.9933 MB / 271.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.003845, allocations: 4 kB / 271.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.003948, allocations: 19.73 kB / 271.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.004091, allocations: 39.64 kB / 271.5 MB, free: 3.188 MB / 250.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.0003905/0.004482, allocations: 183.3 kB / 271.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004662, allocations: 219.4 kB / 271.9 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.004777, allocations: 50.47 kB / 271.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.004888, allocations: 139.6 kB / 272 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.005241, allocations: 105.5 kB / 272.1 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.00528, allocations: 20 kB / 272.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.005497, allocations: 159.7 kB / 272.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.005548, allocations: 59.81 kB / 272.4 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.005604, allocations: 67.75 kB / 272.4 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.005894, allocations: 255.1 kB / 272.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005896, allocations: 0 / 272.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005896, allocations: 4 kB / 272.7 MB, free: 1.953 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.0059, allocations: 0 / 272.7 MB, free: 1.953 MB / 250.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.0006055/0.006506, allocations: 472.8 kB / 273.2 MB, free: 1.465 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.006537, allocations: 12.92 kB / 273.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.00668, allocations: 44.78 kB / 273.2 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.006835, allocations: 183 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.006854, allocations: 12.66 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.006881, allocations: 23.94 kB / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.007055, allocations: 129.8 kB / 273.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.007064, allocations: 3.984 kB / 273.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.007075, allocations: 4 kB / 273.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.00708, allocations: 4 kB / 273.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.007145, allocations: 36.53 kB / 273.6 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.007631, allocations: 353.5 kB / 274 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.00792, allocations: 182.3 kB / 274.1 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.007963, allocations: 36.84 kB / 274.2 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.007979, allocations: 15.88 kB / 274.2 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.008088, allocations: 94.14 kB / 274.3 MB, free: 284 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.00809, allocations: 3.938 kB / 274.3 MB, free: 280 kB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001874/0.008277, allocations: 121.6 kB / 274.4 MB, free: 152 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.00831, allocations: 67.39 kB / 274.5 MB, free: 72 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.008422, allocations: 182.5 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.008445, allocations: 41.7 kB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.008492, allocations: 120.6 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.008527, allocations: 71.38 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.008589, allocations: 69.62 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.008662, allocations: 334.8 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.008718, allocations: 38.8 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.00878, allocations: 65.61 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.008896, allocations: 121 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008898, allocations: 0 / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001706/0.009069, allocations: 166.9 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.009083, allocations: 14.75 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.009088, allocations: 0 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.0091, allocations: 0 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.009273, allocations: 83.88 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.009277, allocations: 4 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.009346, allocations: 39.84 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.009359, allocations: 12 kB / 275.8 MB, free: 14.68 MB / 266.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.971e-05/0.009439, allocations: 144.3 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.009458, allocations: 15.92 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.009494, allocations: 21.97 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.009496, allocations: 0 / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.009497, allocations: 0 / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.009501, allocations: 4 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.009825, allocations: 385.2 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.009826, allocations: 0 / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.009938, allocations: 47.95 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.00994, allocations: 4 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.009952, allocations: 3.984 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.009953, allocations: 0 / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.009954, allocations: 0 / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.01018, allocations: 302.5 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.01019, allocations: 19.78 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.01021, allocations: 4 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.01029, allocations: 27.95 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.01033, allocations: 11.97 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01034, allocations: 8 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.01037, allocations: 40.81 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001865/0.01056, allocations: 75.81 kB / 276.9 MB, free: 13.52 MB / 266.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.0003334/0.01089, allocations: 214.6 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.01106, allocations: 132.9 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.01106, allocations: 0 / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.01113, allocations: 56.75 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.0113, allocations: 31.92 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.01172, allocations: 374.6 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.01177, allocations: 79.98 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.469e-05/0.01185, allocations: 29.69 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01195, allocations: 87.34 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01195, allocations: 0 / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Templates: time 0.004727/0.01668, allocations: 3.371 MB / 281.2 MB, free: 9.195 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0513298441655934]