Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008777/0.0008776, allocations: 179.6 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000807/0.000807, allocations: 92.66 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002399/0.0002399, allocations: 11.94 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1844, allocations: 50.41 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.001392/0.1859, allocations: 1.508 MB / 406.1 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1875, allocations: 1.917 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.235e-05/0.1875, allocations: 0 / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.886e-05/0.1876, allocations: 15.8 kB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.231e-05/0.1877, allocations: 19.48 kB / 408 MB, free: 27.69 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.0006032/0.1883, allocations: 247.5 kB / 408.3 MB, free: 27.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1885, allocations: 203.5 kB / 408.5 MB, free: 27.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1886, allocations: 68.03 kB / 408.5 MB, free: 27.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.1887, allocations: 75.62 kB / 408.6 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.1892, allocations: 95.53 kB / 408.7 MB, free: 27.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.1893, allocations: 12 kB / 408.7 MB, free: 27.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.1896, allocations: 280.6 kB / 409 MB, free: 26.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.1897, allocations: 43.83 kB / 409 MB, free: 26.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.1898, allocations: 114.1 kB / 409.2 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.1901, allocations: 372.5 kB / 409.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1901, allocations: 0 / 409.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1901, allocations: 4 kB / 409.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1901, allocations: 0 / 409.5 MB, free: 26.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.0007724/0.1909, allocations: 0.5585 MB / 410.1 MB, free: 25.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.1909, allocations: 8.031 kB / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.1911, allocations: 32.73 kB / 410.1 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1913, allocations: 244.6 kB / 410.4 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1913, allocations: 20.22 kB / 410.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1914, allocations: 20 kB / 410.4 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.1918, allocations: 218.9 kB / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.1918, allocations: 0 / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1918, allocations: 4 kB / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1918, allocations: 4 kB / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.1922, allocations: 180.4 kB / 410.8 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.193, allocations: 0.5863 MB / 411.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/0.1939, allocations: 374.6 kB / 411.7 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.1942, allocations: 132.8 kB / 411.9 MB, free: 23.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1942, allocations: 0 / 411.9 MB, free: 23.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003205/0.1945, allocations: 188.3 kB / 412.1 MB, free: 23.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.1945, allocations: 4 kB / 412.1 MB, free: 23.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008386/0.1954, allocations: 415.9 kB / 412.5 MB, free: 23.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.1954, allocations: 63.45 kB / 412.5 MB, free: 23.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1955, allocations: 207.8 kB / 412.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1956, allocations: 37.7 kB / 412.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.1956, allocations: 132.5 kB / 412.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.1957, allocations: 74.95 kB / 413 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.1957, allocations: 4 kB / 413 MB, free: 22.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.1958, allocations: 338.8 kB / 413.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.196, allocations: 147.9 kB / 413.5 MB, free: 22.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.1963, allocations: 181.5 kB / 413.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.1968, allocations: 308.6 kB / 413.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1968, allocations: 0 / 413.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006378/0.1975, allocations: 407.4 kB / 414.3 MB, free: 21.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1975, allocations: 4 kB / 414.3 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1975, allocations: 0 / 414.3 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1975, allocations: 4 kB / 414.3 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.1978, allocations: 83.88 kB / 414.4 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1978, allocations: 0 / 414.4 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.198, allocations: 47.67 kB / 414.5 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.198, allocations: 19.92 kB / 414.5 MB, free: 21.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.865e-05/0.1981, allocations: 141.8 kB / 414.6 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.1981, allocations: 23.7 kB / 414.6 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.357e-05/0.1982, allocations: 21.88 kB / 414.7 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1982, allocations: 0 / 414.7 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1982, allocations: 0 / 414.7 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1982, allocations: 3.984 kB / 414.7 MB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.1991, allocations: 0.6815 MB / 415.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1991, allocations: 4 kB / 415.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.1994, allocations: 51.95 kB / 415.4 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1994, allocations: 3.938 kB / 415.4 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1994, allocations: 4 kB / 415.4 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1994, allocations: 3.984 kB / 415.4 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1994, allocations: 4 kB / 415.4 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.2003, allocations: 0.5408 MB / 416 MB, free: 19.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.2003, allocations: 96.84 kB / 416.1 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.2003, allocations: 12.06 kB / 416.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.2005, allocations: 27.97 kB / 416.1 MB, free: 19.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.2006, allocations: 15.98 kB / 416.1 MB, free: 19.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2006, allocations: 4 kB / 416.1 MB, free: 19.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.2007, allocations: 151.2 kB / 416.3 MB, free: 19.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2007, allocations: 4 kB / 416.3 MB, free: 19.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.201, allocations: 99.98 kB / 416.4 MB, free: 19.03 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 (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.0005181/0.2016, allocations: 286.8 kB / 416.6 MB, free: 18.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.2022, allocations: 332.2 kB / 417 MB, free: 18.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2022, allocations: 0 / 417 MB, free: 18.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.2025, allocations: 131.9 kB / 417.1 MB, free: 18.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.2028, allocations: 27.92 kB / 417.1 MB, free: 18.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.2035, allocations: 0.5343 MB / 417.7 MB, free: 17.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.2036, allocations: 0.7398 MB / 418.4 MB, free: 16.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.2037, allocations: 33.92 kB / 418.4 MB, free: 16.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.2038, allocations: 27.42 kB / 418.5 MB, free: 16.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.91e-07/0.2038, allocations: 0 / 418.5 MB, free: 16.91 MB / 298.7 MB Notification: Performance of Templates: time 0.005519/0.2093, allocations: 3.408 MB / 421.9 MB, free: 13.51 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches