Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001475/0.001475, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001713/0.001713, allocations: 165.2 kB / 24.99 MB, free: 8.219 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.105/1.105, allocations: 177 MB / 205.2 MB, free: 5.52 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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 273 MB, free: 1.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.605e-05/3.834e-05, allocations: 5.406 kB / 273 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003377/0.003415, allocations: 1.874 MB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.005204, allocations: 1.005 MB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.005319, allocations: 0 / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.005453, allocations: 19.73 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.005666, allocations: 39.64 kB / 275.9 MB, free: 14.73 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.000617/0.006283, allocations: 195.3 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.006573, allocations: 223.4 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.006745, allocations: 48.55 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.006914, allocations: 135.6 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005046/0.007419, allocations: 113.9 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.007469, allocations: 24 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.007763, allocations: 151.7 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.007835, allocations: 59.81 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.007925, allocations: 71.75 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.008354, allocations: 255 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.008357, allocations: 4 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008358, allocations: 4 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.008363, allocations: 0 / 277.2 MB, free: 13.48 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.001042/0.009405, allocations: 0.5826 MB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.009447, allocations: 8.031 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.009698, allocations: 52.73 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.009969, allocations: 205.5 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.01, allocations: 12.66 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.01005, allocations: 20.38 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.01038, allocations: 136.1 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.01039, allocations: 192 / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.01041, allocations: 4.375 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.01042, allocations: 7.938 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.0106, allocations: 56.45 kB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.01154, allocations: 0.5077 MB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.01206, allocations: 155.4 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.01217, allocations: 51.55 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.0122, allocations: 4 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.0124, allocations: 112.9 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.0124, allocations: 0 / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004652/0.01287, allocations: 180.9 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.01291, allocations: 63.28 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.01313, allocations: 254.4 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.01317, allocations: 41.7 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.01326, allocations: 179.3 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.01333, allocations: 75.38 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.01344, allocations: 75.66 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.01359, allocations: 0.5001 MB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.01374, allocations: 55.72 kB / 280.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.0139, allocations: 87.33 kB / 280.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.01415, allocations: 129.1 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01416, allocations: 0 / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004296/0.01458, allocations: 235.9 kB / 281 MB, free: 9.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.0146, allocations: 4 kB / 281 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01461, allocations: 3.938 kB / 281 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01462, allocations: 4 kB / 281 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.01491, allocations: 75.89 kB / 281 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01492, allocations: 4.031 kB / 281 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01505, allocations: 43.75 kB / 281.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.01508, allocations: 12 kB / 281.1 MB, free: 9.363 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.0001283/0.0152, allocations: 176.5 kB / 281.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.01525, allocations: 27.89 kB / 281.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.0153, allocations: 29.84 kB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01531, allocations: 4 kB / 281.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01531, allocations: 0 / 281.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01532, allocations: 0 / 281.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.01594, allocations: 485.1 kB / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01594, allocations: 0 / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.01612, allocations: 35.97 kB / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01613, allocations: 3.938 kB / 281.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.01615, allocations: 11.98 kB / 281.9 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01615, allocations: 0 / 281.9 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01615, allocations: 7.938 kB / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.01661, allocations: 346.5 kB / 282.2 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.01664, allocations: 23.81 kB / 282.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.01668, allocations: 8 kB / 282.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.01682, allocations: 19.97 kB / 282.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.01688, allocations: 15.98 kB / 282.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.01689, allocations: 7.984 kB / 282.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.01701, allocations: 172.2 kB / 282.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01701, allocations: 0 / 282.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.01738, allocations: 75.83 kB / 282.5 MB, free: 7.875 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.0004677/0.01785, allocations: 205.7 kB / 282.7 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.0182, allocations: 151.5 kB / 282.9 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0182, allocations: 0 / 282.9 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.01832, allocations: 59.59 kB / 282.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.01868, allocations: 39.91 kB / 283 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.01943, allocations: 383.3 kB / 283.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.0195, allocations: 88.08 kB / 283.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.01961, allocations: 25.64 kB / 283.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.628e-05/0.01969, allocations: 28.48 kB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01969, allocations: 3.938 kB / 283.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of Templates: time 0.006767/0.02645, allocations: 3.05 MB / 286.5 MB, free: 3.844 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.854862097883597]