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.001415/0.001415, allocations: 191.8 kB / 17.37 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 226.5 MB / 244.7 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008325/0.0008325, allocations: 93.27 kB / 296.8 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.0002411, allocations: 8 kB / 356.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2049, allocations: 51.3 MB / 408 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001646/0.2066, allocations: 1.527 MB / 409.6 MB, free: 26.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2081, allocations: 0.949 MB / 410.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2083, allocations: 4 kB / 410.5 MB, free: 25.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2084, allocations: 12.44 kB / 410.5 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.2086, allocations: 24.69 kB / 410.6 MB, free: 25.23 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.0005347/0.2091, allocations: 144.4 kB / 410.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.2093, allocations: 193.3 kB / 410.9 MB, free: 24.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.2095, allocations: 64.48 kB / 411 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.2095, allocations: 76.42 kB / 411 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/0.2099, allocations: 107.5 kB / 411.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.21, allocations: 10.03 kB / 411.1 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.2102, allocations: 99.91 kB / 411.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.2102, allocations: 43.81 kB / 411.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.15e-05/0.2103, allocations: 105.2 kB / 411.4 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.2105, allocations: 196.6 kB / 411.6 MB, free: 24.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2105, allocations: 3.312 kB / 411.6 MB, free: 24.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2105, allocations: 0 / 411.6 MB, free: 24.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2105, allocations: 3.938 kB / 411.6 MB, free: 24.21 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.0008802/0.2114, allocations: 0.5428 MB / 412.1 MB, free: 23.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2114, allocations: 12.02 kB / 412.1 MB, free: 23.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.2116, allocations: 32.75 kB / 412.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.2118, allocations: 245.5 kB / 412.4 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.2119, allocations: 16.66 kB / 412.4 MB, free: 23.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.2119, allocations: 24.11 kB / 412.4 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.2123, allocations: 214.7 kB / 412.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2124, allocations: 3.938 kB / 412.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.2124, allocations: 7.938 kB / 412.7 MB, free: 23.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.2124, allocations: 7.984 kB / 412.7 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.2128, allocations: 181 kB / 412.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.2137, allocations: 0.5863 MB / 413.4 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009415/0.2146, allocations: 370.6 kB / 413.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.2149, allocations: 136.7 kB / 413.9 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2149, allocations: 8 kB / 413.9 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003447/0.2153, allocations: 186.7 kB / 414.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.2153, allocations: 0 / 414.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008732/0.2162, allocations: 405.1 kB / 414.5 MB, free: 21.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2162, allocations: 71.33 kB / 414.6 MB, free: 21.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2164, allocations: 203.9 kB / 414.8 MB, free: 20.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.2164, allocations: 37.77 kB / 414.8 MB, free: 20.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.2165, allocations: 132.5 kB / 415 MB, free: 20.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.2165, allocations: 71 kB / 415 MB, free: 20.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.2166, allocations: 8 kB / 415 MB, free: 20.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.2166, allocations: 330.8 kB / 415.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.2169, allocations: 143.9 kB / 415.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.2173, allocations: 182.2 kB / 415.7 MB, free: 19.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005712/0.2179, allocations: 304.5 kB / 416 MB, free: 19.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2179, allocations: 0 / 416 MB, free: 19.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000675/0.2186, allocations: 414.8 kB / 416.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2186, allocations: 4 kB / 416.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2186, allocations: 0 / 416.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2186, allocations: 0 / 416.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.2189, allocations: 87.88 kB / 416.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.219, allocations: 0 / 416.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.2191, allocations: 55.61 kB / 416.5 MB, free: 19.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.2191, allocations: 15.98 kB / 416.5 MB, free: 19.02 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.0001079/0.2193, allocations: 137.7 kB / 416.7 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.2193, allocations: 23.72 kB / 416.7 MB, free: 18.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.2194, allocations: 25.86 kB / 416.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2194, allocations: 0 / 416.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2194, allocations: 4 kB / 416.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2194, allocations: 0 / 416.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009299/0.2203, allocations: 0.6815 MB / 417.4 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2203, allocations: 3.938 kB / 417.4 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.2206, allocations: 55.95 kB / 417.5 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2206, allocations: 0 / 417.5 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.2206, allocations: 8 kB / 417.5 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2206, allocations: 3.938 kB / 417.5 MB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2206, allocations: 0 / 417.5 MB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/0.2215, allocations: 0.5332 MB / 418 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.2215, allocations: 100.8 kB / 418.1 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.2216, allocations: 8.062 kB / 418.1 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.2218, allocations: 35.97 kB / 418.2 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.2218, allocations: 15.97 kB / 418.2 MB, free: 17.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.2218, allocations: 7.984 kB / 418.2 MB, free: 17.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.394e-05/0.2219, allocations: 147.2 kB / 418.3 MB, free: 17.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2219, allocations: 0 / 418.3 MB, free: 17.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.2223, allocations: 64 kB / 418.4 MB, free: 17.07 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.0003667/0.2226, allocations: 200.4 kB / 418.6 MB, free: 16.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006571/0.2233, allocations: 322.2 kB / 418.9 MB, free: 16.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2233, allocations: 4 kB / 418.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.2236, allocations: 131.9 kB / 419 MB, free: 16.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.2239, allocations: 31.7 kB / 419.1 MB, free: 16.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.2247, allocations: 0.536 MB / 419.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.2249, allocations: 0.7437 MB / 420.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.225, allocations: 27.42 kB / 420.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.225, allocations: 0 / 420.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Templates: time 0.00432/0.2293, allocations: 3.321 MB / 423.7 MB, free: 11.73 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