Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 194.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 226.6 MB / 244.4 MB, free: 8.293 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007539/0.0007539, allocations: 104.5 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002243/0.0002245, allocations: 11.94 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2034, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001514/0.205, allocations: 1.525 MB / 409 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2062, allocations: 0.9483 MB / 410 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.2062, allocations: 2.094 kB / 410 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.6e-05/0.2063, allocations: 19.8 kB / 410 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.2065, allocations: 15.86 kB / 410 MB, free: 25.31 MB / 298.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.0003932/0.2069, allocations: 148.2 kB / 410.2 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.207, allocations: 187.5 kB / 410.3 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2072, allocations: 58.41 kB / 410.4 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.2072, allocations: 77.06 kB / 410.5 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.2074, allocations: 103.6 kB / 410.6 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.2075, allocations: 11.94 kB / 410.6 MB, free: 24.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.2076, allocations: 100.5 kB / 410.7 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.2077, allocations: 39.83 kB / 410.7 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.2077, allocations: 54.45 kB / 410.8 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.2079, allocations: 196.6 kB / 411 MB, free: 24.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2079, allocations: 0.7812 kB / 411 MB, free: 24.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2079, allocations: 0 / 411 MB, free: 24.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2079, allocations: 1.062 kB / 411 MB, free: 24.35 MB / 298.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.0008619/0.2088, allocations: 0.5404 MB / 411.5 MB, free: 23.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.2088, allocations: 16.03 kB / 411.5 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.209, allocations: 35.7 kB / 411.6 MB, free: 23.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.2092, allocations: 227.6 kB / 411.8 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.2092, allocations: 16.28 kB / 411.8 MB, free: 23.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.2093, allocations: 23.95 kB / 411.8 MB, free: 23.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.2097, allocations: 223.5 kB / 412 MB, free: 23.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2097, allocations: 3.938 kB / 412 MB, free: 23.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.2097, allocations: 8 kB / 412 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2097, allocations: 0 / 412 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.2101, allocations: 180.4 kB / 412.2 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008084/0.211, allocations: 0.5747 MB / 412.8 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000954/0.2119, allocations: 386.7 kB / 413.2 MB, free: 21.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.2122, allocations: 133.5 kB / 413.3 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2122, allocations: 4 kB / 413.3 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.2126, allocations: 195.2 kB / 413.5 MB, free: 21.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.2126, allocations: 0 / 413.5 MB, free: 21.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008613/0.2135, allocations: 415.2 kB / 413.9 MB, free: 21.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.2135, allocations: 59.41 kB / 414 MB, free: 21.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2137, allocations: 203.9 kB / 414.2 MB, free: 20.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2137, allocations: 41.69 kB / 414.2 MB, free: 20.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.2138, allocations: 128.5 kB / 414.3 MB, free: 20.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.2138, allocations: 79.06 kB / 414.4 MB, free: 20.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.2138, allocations: 4 kB / 414.4 MB, free: 20.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.2139, allocations: 334.8 kB / 414.7 MB, free: 20.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.2142, allocations: 147.9 kB / 414.9 MB, free: 20.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.2145, allocations: 177.6 kB / 415.1 MB, free: 20.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.2148, allocations: 162.4 kB / 415.2 MB, free: 19.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2148, allocations: 0 / 415.2 MB, free: 19.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006827/0.2155, allocations: 406.9 kB / 415.6 MB, free: 19.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2155, allocations: 10.45 kB / 415.6 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2155, allocations: 0 / 415.6 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2156, allocations: 8 kB / 415.6 MB, free: 19.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.2158, allocations: 75.89 kB / 415.7 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2159, allocations: 7.938 kB / 415.7 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.216, allocations: 55.66 kB / 415.8 MB, free: 19.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.2161, allocations: 12 kB / 415.8 MB, free: 19.32 MB / 298.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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.2162, allocations: 141.8 kB / 415.9 MB, free: 19.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.2162, allocations: 19.72 kB / 415.9 MB, free: 19.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.2163, allocations: 29.81 kB / 416 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2163, allocations: 0 / 416 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2163, allocations: 7.938 kB / 416 MB, free: 19.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2163, allocations: 0 / 416 MB, free: 19.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/0.2172, allocations: 0.67 MB / 416.6 MB, free: 18.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2172, allocations: 4 kB / 416.6 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.2175, allocations: 55.91 kB / 416.7 MB, free: 18.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2175, allocations: 4 kB / 416.7 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.2175, allocations: 3.984 kB / 416.7 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2175, allocations: 0 / 416.7 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2175, allocations: 0 / 416.7 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.2184, allocations: 0.529 MB / 417.2 MB, free: 17.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.2184, allocations: 108.7 kB / 417.3 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2185, allocations: 8.062 kB / 417.3 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.2186, allocations: 31.97 kB / 417.4 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.2187, allocations: 11.98 kB / 417.4 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2187, allocations: 7.984 kB / 417.4 MB, free: 17.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.028e-05/0.2188, allocations: 151.2 kB / 417.5 MB, free: 17.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2188, allocations: 3.938 kB / 417.6 MB, free: 17.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.2191, allocations: 64 kB / 417.6 MB, free: 17.38 MB / 298.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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003294/0.2195, allocations: 200 kB / 417.8 MB, free: 17.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.2201, allocations: 323.7 kB / 418.1 MB, free: 16.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2201, allocations: 0 / 418.1 MB, free: 16.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.2204, allocations: 131.9 kB / 418.3 MB, free: 16.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2207, allocations: 27.77 kB / 418.3 MB, free: 16.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/0.2214, allocations: 0.5398 MB / 418.8 MB, free: 16.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2215, allocations: 0.7398 MB / 419.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.2216, allocations: 31.42 kB / 419.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2216, allocations: 0 / 419.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Templates: time 0.004028/0.2256, allocations: 3.312 MB / 422.9 MB, free: 12.05 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches