Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001893/0.001893, allocations: 179.9 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007995/0.0007996, allocations: 85.16 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2105, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.001609/0.2122, allocations: 1.504 MB / 376.1 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2136, allocations: 0.9441 MB / 377 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.2137, allocations: 2.188 kB / 377 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.809e-05/0.2138, allocations: 15.8 kB / 377 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.2139, allocations: 23.06 kB / 377 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.2143, allocations: 144.4 kB / 377.2 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.2145, allocations: 194.5 kB / 377.4 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2147, allocations: 63.08 kB / 377.4 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.2148, allocations: 75.81 kB / 377.5 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2149, allocations: 97.98 kB / 377.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.2149, allocations: 10.47 kB / 377.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.2151, allocations: 110.5 kB / 377.7 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.2152, allocations: 45.78 kB / 377.8 MB, free: 43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.2152, allocations: 56.11 kB / 377.8 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.2154, allocations: 211.7 kB / 378 MB, free: 42.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2155, allocations: 0 / 378 MB, free: 42.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2155, allocations: 0 / 378 MB, free: 42.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2155, allocations: 0 / 378 MB, free: 42.8 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.0009975/0.2165, allocations: 0.5419 MB / 378.6 MB, free: 42.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2165, allocations: 17.11 kB / 378.6 MB, free: 42.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.2167, allocations: 32.73 kB / 378.6 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.217, allocations: 241.3 kB / 378.9 MB, free: 42.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.217, allocations: 12.5 kB / 378.9 MB, free: 42.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.2171, allocations: 25.3 kB / 378.9 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.2176, allocations: 212.2 kB / 379.1 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2176, allocations: 0 / 379.1 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.2176, allocations: 5.688 kB / 379.1 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2176, allocations: 3.875 kB / 379.1 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.2181, allocations: 182.8 kB / 379.3 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.2191, allocations: 0.5815 MB / 379.9 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.2202, allocations: 381.3 kB / 380.2 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.2206, allocations: 134.2 kB / 380.4 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.2206, allocations: 6.344 kB / 380.4 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/0.221, allocations: 187.8 kB / 380.6 MB, free: 40.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.221, allocations: 0 / 380.6 MB, free: 40.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001052/0.2221, allocations: 421.5 kB / 381 MB, free: 40.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2221, allocations: 61.03 kB / 381 MB, free: 40.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.2223, allocations: 213.8 kB / 381.2 MB, free: 40.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.2224, allocations: 40.78 kB / 381.3 MB, free: 40.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.2224, allocations: 125.3 kB / 381.4 MB, free: 40.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.2225, allocations: 76.06 kB / 381.5 MB, free: 40.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.2225, allocations: 5.219 kB / 381.5 MB, free: 40.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.2226, allocations: 336.2 kB / 381.8 MB, free: 40.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.223, allocations: 148.6 kB / 382 MB, free: 39.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.2233, allocations: 179.1 kB / 382.1 MB, free: 39.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.2237, allocations: 157.3 kB / 382.3 MB, free: 39.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2237, allocations: 0 / 382.3 MB, free: 39.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007819/0.2245, allocations: 413.4 kB / 382.7 MB, free: 39.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2245, allocations: 7.125 kB / 382.7 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2245, allocations: 0 / 382.7 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2245, allocations: 10.81 kB / 382.7 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.2249, allocations: 76.58 kB / 382.8 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2249, allocations: 6.219 kB / 382.8 MB, free: 39.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.2251, allocations: 55.66 kB / 382.8 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2251, allocations: 6.438 kB / 382.8 MB, free: 39.55 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.0001245/0.2252, allocations: 148.1 kB / 383 MB, free: 39.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.2253, allocations: 23.98 kB / 383 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.2253, allocations: 26.33 kB / 383 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2253, allocations: 2.344 kB / 383 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.2254, allocations: 4 kB / 383 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2254, allocations: 0 / 383 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.2265, allocations: 0.6706 MB / 383.7 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2265, allocations: 0 / 383.7 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.2267, allocations: 54.97 kB / 383.8 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2268, allocations: 5.062 kB / 383.8 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.2268, allocations: 10.02 kB / 383.8 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2268, allocations: 1.062 kB / 383.8 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2268, allocations: 0 / 383.8 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.2279, allocations: 0.5305 MB / 384.3 MB, free: 38.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.2279, allocations: 101.3 kB / 384.4 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.228, allocations: 8.969 kB / 384.4 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.2282, allocations: 31.31 kB / 384.5 MB, free: 38.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.2282, allocations: 18.27 kB / 384.5 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.2283, allocations: 8.547 kB / 384.5 MB, free: 38.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.2284, allocations: 143.9 kB / 384.6 MB, free: 38.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2284, allocations: 3.938 kB / 384.6 MB, free: 38.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.2288, allocations: 67.31 kB / 384.7 MB, free: 38.26 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.0004424/0.2292, allocations: 226.8 kB / 384.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007133/0.23, allocations: 321.4 kB / 385.2 MB, free: 37.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.23, allocations: 4 kB / 385.2 MB, free: 37.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.2303, allocations: 131.9 kB / 385.4 MB, free: 37.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2306, allocations: 27.94 kB / 385.4 MB, free: 37.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.2314, allocations: 0.5559 MB / 385.9 MB, free: 37.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.2315, allocations: 0.737 MB / 386.7 MB, free: 36.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.2316, allocations: 27.42 kB / 386.7 MB, free: 36.32 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.2316, allocations: 0 / 386.7 MB, free: 36.32 MB / 298.7 MB Notification: Performance of Templates: time 0.00494/0.2366, allocations: 3.443 MB / 390.1 MB, free: 32.88 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches