Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009959/0.000996, allocations: 191.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 226.6 MB / 244.7 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000783/0.000783, allocations: 95.72 kB / 296.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002124/0.0002124, allocations: 8 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2084, allocations: 51.3 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.001531/0.21, allocations: 1.52 MB / 409.6 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2115, allocations: 1.229 MB / 410.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.2116, allocations: 0.6875 kB / 410.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.859e-05/0.2117, allocations: 12.36 kB / 410.8 MB, free: 24.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.2118, allocations: 13.19 kB / 410.8 MB, free: 24.93 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.0006333/0.2124, allocations: 241.3 kB / 411.1 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.2126, allocations: 195.5 kB / 411.2 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2127, allocations: 63.7 kB / 411.3 MB, free: 24.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.2128, allocations: 75.62 kB / 411.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.2132, allocations: 105.4 kB / 411.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.2132, allocations: 8 kB / 411.5 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.2136, allocations: 287.5 kB / 411.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.2136, allocations: 43.83 kB / 411.8 MB, free: 23.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.2137, allocations: 101.2 kB / 411.9 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.214, allocations: 264.5 kB / 412.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.214, allocations: 0 / 412.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.214, allocations: 7.938 kB / 412.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.214, allocations: 0 / 412.2 MB, free: 23.57 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.0008655/0.2149, allocations: 0.5585 MB / 412.7 MB, free: 22.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2149, allocations: 8.031 kB / 412.7 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.2151, allocations: 36.73 kB / 412.8 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.2153, allocations: 249.4 kB / 413 MB, free: 22.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.2154, allocations: 16.66 kB / 413 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.2154, allocations: 28.05 kB / 413.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.2159, allocations: 222.6 kB / 413.3 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2159, allocations: 0 / 413.3 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.2159, allocations: 8 kB / 413.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2159, allocations: 4 kB / 413.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.2163, allocations: 177 kB / 413.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/0.2172, allocations: 0.5747 MB / 414 MB, free: 21.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/0.2182, allocations: 382.5 kB / 414.4 MB, free: 21.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.2185, allocations: 132.8 kB / 414.6 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2185, allocations: 0 / 414.6 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.2188, allocations: 190.4 kB / 414.7 MB, free: 20.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.2189, allocations: 0 / 414.7 MB, free: 20.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000876/0.2197, allocations: 413.2 kB / 415.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2198, allocations: 59.39 kB / 415.2 MB, free: 20.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2199, allocations: 203.9 kB / 415.4 MB, free: 20.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.22, allocations: 41.69 kB / 415.4 MB, free: 20.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.22, allocations: 124.5 kB / 415.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.2201, allocations: 75 kB / 415.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.2201, allocations: 4 kB / 415.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.2202, allocations: 338.8 kB / 416 MB, free: 19.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.2205, allocations: 147.9 kB / 416.1 MB, free: 19.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.2208, allocations: 178.2 kB / 416.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.2214, allocations: 312.5 kB / 416.6 MB, free: 18.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2214, allocations: 0 / 416.6 MB, free: 18.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007182/0.2221, allocations: 414.8 kB / 417 MB, free: 18.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2222, allocations: 8.031 kB / 417 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2222, allocations: 0 / 417 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2222, allocations: 4 kB / 417 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.2225, allocations: 71.89 kB / 417.1 MB, free: 18.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2225, allocations: 0 / 417.1 MB, free: 18.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.2227, allocations: 59.64 kB / 417.1 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.2227, allocations: 12 kB / 417.2 MB, free: 18.37 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.0001108/0.2228, allocations: 145.7 kB / 417.3 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.2228, allocations: 19.72 kB / 417.3 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.2229, allocations: 29.86 kB / 417.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2229, allocations: 0 / 417.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2229, allocations: 3.938 kB / 417.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2229, allocations: 0 / 417.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/0.2239, allocations: 0.6776 MB / 418 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2239, allocations: 3.984 kB / 418 MB, free: 17.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.2242, allocations: 59.95 kB / 418.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2242, allocations: 0 / 418.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2242, allocations: 4 kB / 418.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2242, allocations: 0 / 418.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2242, allocations: 0 / 418.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008881/0.2251, allocations: 0.5411 MB / 418.6 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.2252, allocations: 96.8 kB / 418.7 MB, free: 16.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.2252, allocations: 8.188 kB / 418.7 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.2254, allocations: 39.97 kB / 418.8 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.2254, allocations: 15.97 kB / 418.8 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2255, allocations: 4 kB / 418.8 MB, free: 16.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.938e-05/0.2256, allocations: 147.2 kB / 418.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2256, allocations: 3.938 kB / 418.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004395/0.226, allocations: 99.98 kB / 419 MB, free: 16.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.0005747/0.2266, allocations: 252.1 kB / 419.3 MB, free: 16.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006803/0.2273, allocations: 328 kB / 419.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2273, allocations: 0 / 419.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.2276, allocations: 138.3 kB / 419.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2279, allocations: 38.11 kB / 419.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.2287, allocations: 0.536 MB / 420.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.2289, allocations: 0.7359 MB / 421 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.229, allocations: 35.36 kB / 421.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.229, allocations: 0 / 421.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of Templates: time 0.005498/0.2345, allocations: 4.068 MB / 425.1 MB, free: 10.23 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches