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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001966/0.001966, allocations: 111.4 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002338/0.002338, allocations: 205.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.879/2.879, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 60.22 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1731, allocations: 50.54 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.005563/0.1787, allocations: 1.934 MB / 359.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.182, allocations: 1.009 MB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.1823, allocations: 0 / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1826, allocations: 15.86 kB / 360.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.1829, allocations: 19.84 kB / 360.6 MB, free: 11.41 MB / 302.1 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.001022/0.1839, allocations: 171.6 kB / 360.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.1844, allocations: 219.5 kB / 361 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.1846, allocations: 64.25 kB / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1849, allocations: 95.61 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008766/0.1858, allocations: 133 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-05/0.1859, allocations: 20 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.1863, allocations: 127.8 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.1864, allocations: 51.83 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1866, allocations: 107.4 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.1871, allocations: 203.9 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1871, allocations: 3.938 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1872, allocations: 0 / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.1872, allocations: 0 / 361.8 MB, free: 10.25 MB / 302.1 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.001948/0.1891, allocations: 0.5584 MB / 362.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.1892, allocations: 12.03 kB / 362.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.1896, allocations: 36.64 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.1901, allocations: 243.7 kB / 362.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.1902, allocations: 16.66 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/0.1903, allocations: 32.11 kB / 362.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.1912, allocations: 194.7 kB / 362.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1913, allocations: 0 / 362.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.1913, allocations: 8 kB / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1913, allocations: 4 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.1923, allocations: 160.4 kB / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1942, allocations: 0.5711 MB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.196, allocations: 302.6 kB / 363.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.1965, allocations: 116.8 kB / 364 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.1965, allocations: 4 kB / 364 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000666/0.1972, allocations: 161.6 kB / 364.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 3.988e-06/0.1972, allocations: 4 kB / 364.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00184/0.1991, allocations: 349.2 kB / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.1992, allocations: 71.39 kB / 364.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.1997, allocations: 214.7 kB / 364.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.184e-05/0.1998, allocations: 45.69 kB / 364.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.2, allocations: 132.5 kB / 365 MB, free: 6.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.2001, allocations: 67 kB / 365 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.2004, allocations: 69.69 kB / 365.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2006, allocations: 330.8 kB / 365.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.2012, allocations: 143.8 kB / 365.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007181/0.202, allocations: 153.6 kB / 365.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.2033, allocations: 279.1 kB / 366 MB, free: 5.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.2033, allocations: 0 / 366 MB, free: 5.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001605/0.205, allocations: 383.4 kB / 366.4 MB, free: 5.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.205, allocations: 4 kB / 366.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.205, allocations: 0 / 366.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.2051, allocations: 4 kB / 366.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.2057, allocations: 71.88 kB / 366.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.2057, allocations: 4 kB / 366.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.2062, allocations: 43.7 kB / 366.5 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.2062, allocations: 11.98 kB / 366.5 MB, free: 5.285 MB / 302.1 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.0003324/0.2066, allocations: 145.6 kB / 366.7 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/0.2067, allocations: 19.8 kB / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.2068, allocations: 17.88 kB / 366.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2068, allocations: 8 kB / 366.7 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2069, allocations: 3.938 kB / 366.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2069, allocations: 0 / 366.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.2089, allocations: 0.6262 MB / 367.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.209, allocations: 0 / 367.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.2095, allocations: 47.89 kB / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.2095, allocations: 4 kB / 367.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.2095, allocations: 4 kB / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.2096, allocations: 0 / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.2096, allocations: 4 kB / 367.4 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.2115, allocations: 476.1 kB / 367.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2117, allocations: 100.9 kB / 367.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/0.2118, allocations: 12 kB / 368 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.2122, allocations: 19.97 kB / 368 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.2123, allocations: 15.97 kB / 368 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.2123, allocations: 4 kB / 368 MB, free: 3.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002826/0.2126, allocations: 160.7 kB / 368.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2127, allocations: 3.938 kB / 368.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006581/0.2133, allocations: 71.84 kB / 368.2 MB, free: 3.461 MB / 302.1 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.0007321/0.2141, allocations: 191.3 kB / 368.4 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.2155, allocations: 295.7 kB / 368.7 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.2155, allocations: 0 / 368.7 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.216, allocations: 112 kB / 368.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.2167, allocations: 39.8 kB / 368.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.2184, allocations: 0.5396 MB / 369.4 MB, free: 2.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.2189, allocations: 0.7359 MB / 370.1 MB, free: 1.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2191, allocations: 27.44 kB / 370.2 MB, free: 1.496 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2191, allocations: 0 / 370.2 MB, free: 1.496 MB / 302.1 MB Notification: Performance of Templates: time 0.3355/0.5546, allocations: 3.358 MB / 373.5 MB, free: 19.2 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.mu,standardDeviation.variance.mu,standardDeviation.variance.var,variance.mu,variance.var,meanError_y,sigmaError_y Variables in the result:mean.mu,meanError_y,sigmaError_y,standardDeviation.variance.mu,standardDeviation.variance.var,time,variance.mu,variance.var