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.001301/0.001301, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001332/0.001332, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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 1.026/1.026, allocations: 173.3 MB / 201.1 MB, free: 8.969 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 2.124e-06/2.124e-06, allocations: 0 / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/3.012e-05, allocations: 2.312 kB / 268 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003396/0.003427, allocations: 1.859 MB / 269.9 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.005231, allocations: 0.9742 MB / 270.8 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.005339, allocations: 7.938 kB / 270.8 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.005475, allocations: 15.75 kB / 270.9 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.005683, allocations: 35.7 kB / 270.9 MB, free: 3.371 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.0006836/0.006366, allocations: 195.2 kB / 271.1 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.006654, allocations: 219.5 kB / 271.3 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.006823, allocations: 52.48 kB / 271.3 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.007004, allocations: 131.7 kB / 271.5 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.007504, allocations: 112.7 kB / 271.6 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.007562, allocations: 24 kB / 271.6 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.007861, allocations: 151.7 kB / 271.8 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.007918, allocations: 59.81 kB / 271.8 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.007989, allocations: 67.75 kB / 271.9 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.00834, allocations: 263.1 kB / 272.1 MB, free: 2.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.008342, allocations: 0 / 272.1 MB, free: 2.125 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008343, allocations: 0 / 272.1 MB, free: 2.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.008348, allocations: 0 / 272.1 MB, free: 2.125 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.0007944/0.009143, allocations: 0.5865 MB / 272.7 MB, free: 1.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.009182, allocations: 12.92 kB / 272.7 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.009357, allocations: 48.72 kB / 272.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.00957, allocations: 193.8 kB / 273 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.009597, allocations: 16.66 kB / 273 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.00963, allocations: 19.94 kB / 273 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.009879, allocations: 142.7 kB / 273.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.009888, allocations: 0 / 273.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.009905, allocations: 4 kB / 273.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.009913, allocations: 4 kB / 273.2 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.01002, allocations: 56.45 kB / 273.2 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.01068, allocations: 0.5111 MB / 273.7 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.01108, allocations: 171.2 kB / 273.9 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/0.01117, allocations: 51.66 kB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.01119, allocations: 4 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.01135, allocations: 101 kB / 274 MB, free: 84 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.01135, allocations: 0 / 274 MB, free: 84 kB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003511/0.0117, allocations: 185.4 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.01174, allocations: 67.39 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.01189, allocations: 245.7 kB / 274.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.01191, allocations: 41.69 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.01199, allocations: 183.2 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.01203, allocations: 75.45 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.01211, allocations: 75.34 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.01225, allocations: 0.5001 MB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.01235, allocations: 47.97 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01245, allocations: 87.11 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.01263, allocations: 145 kB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.01263, allocations: 4 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002956/0.01293, allocations: 244 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.01295, allocations: 4 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.01295, allocations: 0 / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.01297, allocations: 7.984 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.01316, allocations: 79.88 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01317, allocations: 0 / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.647e-05/0.01326, allocations: 35.83 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.01327, allocations: 16.02 kB / 276.1 MB, free: 13.98 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,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,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 0.0001257/0.0134, allocations: 184.3 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.01343, allocations: 19.91 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.01348, allocations: 25.95 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01348, allocations: 0 / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.01349, allocations: 0 / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01349, allocations: 0 / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.01406, allocations: 0.4999 MB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01407, allocations: 3.984 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.01419, allocations: 39.97 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01419, allocations: 0 / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.01421, allocations: 11.98 kB / 276.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01421, allocations: 0 / 276.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01421, allocations: 3.938 kB / 276.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.01454, allocations: 356.1 kB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.01457, allocations: 23.8 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.01459, allocations: 12 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.01467, allocations: 23.91 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.01472, allocations: 15.97 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01473, allocations: 4 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.953e-05/0.01481, allocations: 171.1 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01481, allocations: 0 / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.01503, allocations: 63.88 kB / 277.5 MB, free: 12.47 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.0003477/0.01538, allocations: 213.9 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.01565, allocations: 155.6 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01565, allocations: 4.062 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.01573, allocations: 63.59 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.01599, allocations: 39.89 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.01657, allocations: 384.9 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.118e-05/0.01662, allocations: 75.98 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.687e-05/0.0167, allocations: 29.62 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.01676, allocations: 24.48 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01676, allocations: 0 / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Templates: time 0.005328/0.02209, allocations: 3.354 MB / 281.8 MB, free: 8.148 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 -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.902326782234013]