Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001009/0.001009, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001259/0.001259, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.131e-05, allocations: 2.312 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002394/0.002416, allocations: 1.86 MB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.004237, allocations: 1.293 MB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.004327, allocations: 4 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.004437, allocations: 19.73 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.004551, allocations: 35.66 kB / 276.6 MB, free: 13.82 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0008393/0.00539, allocations: 330.8 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.005633, allocations: 219.4 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.00579, allocations: 54.5 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.00595, allocations: 135.6 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.006435, allocations: 97.77 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.006481, allocations: 24 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.006939, allocations: 319.3 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.006995, allocations: 55.75 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.007062, allocations: 67.81 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.007592, allocations: 386.7 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007596, allocations: 0 / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.007598, allocations: 0 / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.007603, allocations: 4 kB / 278.3 MB, free: 12.16 MB / 266.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.0007132/0.008317, allocations: 484.6 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.008352, allocations: 8.031 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.008526, allocations: 56.81 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.008702, allocations: 162.8 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.008726, allocations: 16.66 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.008761, allocations: 28.34 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.008956, allocations: 134.9 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.008964, allocations: 192 / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.008977, allocations: 4.375 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.008984, allocations: 7.938 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.009054, allocations: 44.47 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.009594, allocations: 350.2 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.009897, allocations: 174.3 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.009941, allocations: 40.83 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.009957, allocations: 0 / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.01008, allocations: 98.16 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.01008, allocations: 0 / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001998/0.01028, allocations: 130.6 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.01032, allocations: 55.41 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.01043, allocations: 195.1 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.01045, allocations: 41.69 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.01051, allocations: 128.5 kB / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.01055, allocations: 63.48 kB / 280.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.01062, allocations: 73.95 kB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.0107, allocations: 338.7 kB / 280.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.01077, allocations: 42.56 kB / 280.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.01083, allocations: 58.3 kB / 280.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.01095, allocations: 121 kB / 281.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01095, allocations: 0 / 281.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000178/0.01113, allocations: 170.9 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.01114, allocations: 4 kB / 281.2 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01115, allocations: 0 / 281.2 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.01116, allocations: 7.938 kB / 281.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.01133, allocations: 71.97 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01134, allocations: 7.938 kB / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.01141, allocations: 47.69 kB / 281.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.01143, allocations: 8 kB / 281.4 MB, free: 8.879 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 9.593e-05/0.01153, allocations: 132.6 kB / 281.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.01155, allocations: 19.97 kB / 281.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.01159, allocations: 21.95 kB / 281.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01159, allocations: 8 kB / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.0116, allocations: 0 / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.0116, allocations: 0 / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.01195, allocations: 354 kB / 281.9 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01195, allocations: 3.938 kB / 281.9 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.01206, allocations: 51.83 kB / 282 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01207, allocations: 4 kB / 282 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01208, allocations: 0 / 282 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01208, allocations: 0 / 282 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01208, allocations: 4 kB / 282 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.01232, allocations: 302 kB / 282.3 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.01233, allocations: 11.91 kB / 282.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.01236, allocations: 8.062 kB / 282.3 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.01243, allocations: 23.97 kB / 282.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.01247, allocations: 11.97 kB / 282.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.01248, allocations: 8 kB / 282.3 MB, free: 7.883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.15e-05/0.01253, allocations: 53.73 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01253, allocations: 8 kB / 282.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.0128, allocations: 107.7 kB / 282.5 MB, free: 7.715 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 (17): * Single equations (assignments): 15 * 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.0005009/0.0133, allocations: 279.2 kB / 282.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.01352, allocations: 117.1 kB / 282.9 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.01352, allocations: 4 kB / 282.9 MB, free: 7.344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.524e-05/0.01359, allocations: 54.94 kB / 282.9 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.01378, allocations: 27.92 kB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.01436, allocations: 395.3 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.0144, allocations: 87.83 kB / 283.4 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.107e-05/0.01448, allocations: 29.62 kB / 283.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/0.01458, allocations: 79.36 kB / 283.5 MB, free: 6.633 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01458, allocations: 3.938 kB / 283.5 MB, free: 6.629 MB / 266.7 MB Notification: Performance of Templates: time 0.006237/0.02082, allocations: 4.074 MB / 287.6 MB, free: 2.598 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.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.155648876912892]