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.001239/0.001239, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001351/0.001351, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.045/1.045, allocations: 177 MB / 204.8 MB, free: 5.578 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 2.484e-06/2.484e-06, allocations: 0 / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.474e-05/3.722e-05, allocations: 2.312 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004042/0.004079, allocations: 1.879 MB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.006837, allocations: 1.262 MB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.006976, allocations: 4 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.007153, allocations: 27.67 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.007345, allocations: 27.72 kB / 276.1 MB, free: 14.19 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.001136/0.008481, allocations: 334.8 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.00879, allocations: 223.4 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.00897, allocations: 48.53 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.009149, allocations: 131.7 kB / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.009731, allocations: 114.3 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.009804, allocations: 20 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.01035, allocations: 319.2 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.01043, allocations: 63.73 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.01053, allocations: 63.83 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007213/0.01125, allocations: 382.7 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01125, allocations: 3.938 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01126, allocations: 0 / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.01127, allocations: 0 / 277.8 MB, free: 12.53 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.001145/0.01241, allocations: 0.598 MB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.01246, allocations: 8.031 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.01275, allocations: 56.67 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.01305, allocations: 193.5 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.01309, allocations: 12.66 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.01314, allocations: 24.38 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.0135, allocations: 136.1 kB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.01351, allocations: 192 / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.01354, allocations: 8.375 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.01355, allocations: 7.938 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.01373, allocations: 64.39 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01474, allocations: 0.5077 MB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.01527, allocations: 167.3 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.01537, allocations: 46.94 kB / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.01541, allocations: 4 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.01562, allocations: 108.9 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.274e-06/0.01562, allocations: 0 / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004846/0.01611, allocations: 184.9 kB / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.01616, allocations: 59.34 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.01639, allocations: 258.4 kB / 280.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.01643, allocations: 37.69 kB / 280.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.01655, allocations: 187.2 kB / 280.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.01662, allocations: 75.38 kB / 280.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.01675, allocations: 71.66 kB / 280.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.01695, allocations: 0.504 MB / 281.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.01708, allocations: 51.72 kB / 281.1 MB, free: 9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.01724, allocations: 83.33 kB / 281.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.01753, allocations: 137 kB / 281.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01754, allocations: 0 / 281.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004659/0.018, allocations: 235.9 kB / 281.6 MB, free: 8.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.01803, allocations: 8 kB / 281.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.01804, allocations: 3.938 kB / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.01807, allocations: 3.984 kB / 281.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.01834, allocations: 71.89 kB / 281.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.01835, allocations: 4 kB / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.01848, allocations: 43.75 kB / 281.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.01852, allocations: 20.03 kB / 281.7 MB, free: 8.379 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.0001648/0.01868, allocations: 172.5 kB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.01872, allocations: 19.91 kB / 281.9 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.275e-05/0.01879, allocations: 25.89 kB / 281.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.0188, allocations: 4 kB / 281.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.01881, allocations: 0 / 281.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.01881, allocations: 0 / 281.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.01943, allocations: 485.1 kB / 282.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01943, allocations: 0 / 282.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.0196, allocations: 47.91 kB / 282.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01961, allocations: 0 / 282.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.01962, allocations: 3.984 kB / 282.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.01963, allocations: 4 kB / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.01963, allocations: 7.875 kB / 282.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.02009, allocations: 347.7 kB / 282.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.02012, allocations: 15.86 kB / 282.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.02016, allocations: 15.98 kB / 282.8 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.02029, allocations: 19.98 kB / 282.9 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.02036, allocations: 15.91 kB / 282.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.02038, allocations: 4 kB / 282.9 MB, free: 7.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.02051, allocations: 180.2 kB / 283.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02051, allocations: 0 / 283.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004736/0.02099, allocations: 99.73 kB / 283.2 MB, free: 6.871 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.0007952/0.02178, allocations: 298.8 kB / 283.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.02215, allocations: 143.2 kB / 283.6 MB, free: 6.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.02215, allocations: 4.062 kB / 283.6 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.02228, allocations: 66.56 kB / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.02265, allocations: 27.98 kB / 283.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/0.02352, allocations: 391.1 kB / 284.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.253e-05/0.0236, allocations: 87.83 kB / 284.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.02371, allocations: 29.62 kB / 284.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.02378, allocations: 24.5 kB / 284.2 MB, free: 5.777 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02378, allocations: 0 / 284.2 MB, free: 5.777 MB / 266.7 MB Notification: Performance of Templates: time 0.008436/0.03222, allocations: 3.725 MB / 287.9 MB, free: 2.09 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.911734157241881]