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.0009753/0.0009753, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001657/0.001657, allocations: 159.8 kB / 24.91 MB, free: 8.719 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.033/1.033, allocations: 177 MB / 205.2 MB, free: 5.035 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 1.062e-06/1.062e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.243e-05, allocations: 5.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001954/0.001967, allocations: 1.865 MB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.003282, allocations: 1.028 MB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.003365, allocations: 0 / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.003476, allocations: 27.67 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.003623, allocations: 35.61 kB / 276.4 MB, free: 14.07 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.0004699/0.004093, allocations: 195.3 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.004282, allocations: 219.4 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004391, allocations: 58.5 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.004501, allocations: 135.7 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.0048, allocations: 105.8 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.004833, allocations: 20 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.005036, allocations: 155.7 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.005084, allocations: 59.8 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.005142, allocations: 75.75 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.005457, allocations: 255 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.005458, allocations: 0 / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005459, allocations: 4 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.005464, allocations: 4 kB / 277.6 MB, free: 12.81 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.0007173/0.006181, allocations: 460.9 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.006222, allocations: 8.031 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.006402, allocations: 44.89 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.006588, allocations: 182.7 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.00661, allocations: 16.66 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.006644, allocations: 20.36 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.006848, allocations: 130.9 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006857, allocations: 192 / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.006875, allocations: 4.375 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.006883, allocations: 7.938 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.841e-05/0.006952, allocations: 40.42 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.007488, allocations: 346.2 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.007801, allocations: 186.2 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.007851, allocations: 36.83 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.00787, allocations: 4 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.00798, allocations: 98.08 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.007982, allocations: 4 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001889/0.008171, allocations: 122.7 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.008211, allocations: 63.34 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.008325, allocations: 195.1 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.008348, allocations: 37.7 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.008401, allocations: 128.5 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.008437, allocations: 67.42 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.0085, allocations: 69.95 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.008577, allocations: 342.7 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.008631, allocations: 38.56 kB / 280.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.157e-05/0.008693, allocations: 62.3 kB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.008817, allocations: 117 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008819, allocations: 0 / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001963/0.009015, allocations: 170.9 kB / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.009028, allocations: 8 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.009034, allocations: 0 / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.009048, allocations: 0 / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.009283, allocations: 75.88 kB / 280.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.009289, allocations: 4.031 kB / 280.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.009389, allocations: 51.64 kB / 280.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.009404, allocations: 8 kB / 280.7 MB, free: 9.551 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.305e-05/0.009497, allocations: 136.6 kB / 280.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.009519, allocations: 15.98 kB / 280.8 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.009557, allocations: 17.97 kB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009558, allocations: 0 / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.009561, allocations: 4 kB / 280.9 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.009565, allocations: 3.984 kB / 280.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.009883, allocations: 353.8 kB / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.009885, allocations: 3.938 kB / 281.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.009992, allocations: 43.95 kB / 281.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.009994, allocations: 0 / 281.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01, allocations: 4 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01001, allocations: 7.922 kB / 281.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.01001, allocations: 0 / 281.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.01021, allocations: 298 kB / 281.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.01023, allocations: 19.84 kB / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.01025, allocations: 7.984 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.01032, allocations: 19.98 kB / 281.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.01036, allocations: 11.97 kB / 281.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01036, allocations: 4.062 kB / 281.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.0104, allocations: 57.78 kB / 281.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0104, allocations: 0 / 281.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.0106, allocations: 71.83 kB / 281.8 MB, free: 8.438 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.0003231/0.01092, allocations: 215.6 kB / 282 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.01108, allocations: 121.1 kB / 282.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.01109, allocations: 4 kB / 282.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.01116, allocations: 52.7 kB / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.01132, allocations: 27.98 kB / 282.2 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.01177, allocations: 391.2 kB / 282.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.01181, allocations: 79.84 kB / 282.6 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.01188, allocations: 29.69 kB / 282.7 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.01197, allocations: 87.34 kB / 282.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01197, allocations: 0 / 282.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of Templates: time 0.00464/0.01661, allocations: 3.283 MB / 286 MB, free: 4.18 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.0049535990692675]