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.UniformNoiseProperties.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.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008338/0.000834, allocations: 178.9 kB / 16.71 MB, free: 5.094 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.236/1.236, allocations: 225.7 MB / 243.2 MB, free: 8.438 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.0007443/0.0007443, allocations: 93.34 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002275/0.0002275, allocations: 11.94 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1852, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001439/0.1867, allocations: 1.516 MB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.188, allocations: 1.401 MB / 407.5 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.1881, allocations: 0 / 407.5 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.293e-05/0.1882, allocations: 7.875 kB / 407.5 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.1883, allocations: 29.28 kB / 407.5 MB, free: 28.24 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.0003779/0.1887, allocations: 145.5 kB / 407.7 MB, free: 28.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1889, allocations: 207.5 kB / 407.9 MB, free: 27.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.189, allocations: 61.88 kB / 407.9 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.745e-05/0.1891, allocations: 83.61 kB / 408 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.1896, allocations: 105 kB / 408.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1896, allocations: 8 kB / 408.1 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1898, allocations: 107.8 kB / 408.2 MB, free: 27.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.1899, allocations: 40.36 kB / 408.3 MB, free: 27.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.1899, allocations: 113.8 kB / 408.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1902, allocations: 264.7 kB / 408.6 MB, free: 27.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1902, allocations: 5.25 kB / 408.6 MB, free: 27.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1902, allocations: 0 / 408.6 MB, free: 27.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1902, allocations: 0 / 408.6 MB, free: 27.12 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.0008154/0.191, allocations: 0.5456 MB / 409.2 MB, free: 26.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.1911, allocations: 8.031 kB / 409.2 MB, free: 26.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.1912, allocations: 36.73 kB / 409.2 MB, free: 26.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1914, allocations: 248.6 kB / 409.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.1914, allocations: 20.22 kB / 409.5 MB, free: 26.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.1915, allocations: 20 kB / 409.5 MB, free: 26.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.1919, allocations: 207 kB / 409.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1919, allocations: 3.938 kB / 409.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1919, allocations: 11.98 kB / 409.7 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1919, allocations: 4 kB / 409.7 MB, free: 25.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.1923, allocations: 180.4 kB / 409.9 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.1931, allocations: 0.5824 MB / 410.5 MB, free: 25.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008883/0.194, allocations: 374.6 kB / 410.9 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.1943, allocations: 136.7 kB / 411 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1943, allocations: 8.047 kB / 411 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.1946, allocations: 184.4 kB / 411.2 MB, free: 24.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.1946, allocations: 0 / 411.2 MB, free: 24.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008546/0.1955, allocations: 419.9 kB / 411.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.1955, allocations: 59.41 kB / 411.7 MB, free: 23.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1957, allocations: 207.8 kB / 411.9 MB, free: 23.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1957, allocations: 45.69 kB / 411.9 MB, free: 23.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1958, allocations: 124.5 kB / 412 MB, free: 23.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1958, allocations: 71 kB / 412.1 MB, free: 23.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.1958, allocations: 4 kB / 412.1 MB, free: 23.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.1959, allocations: 342.8 kB / 412.4 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.1962, allocations: 147.9 kB / 412.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.1965, allocations: 173.6 kB / 412.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.197, allocations: 316.6 kB / 413.1 MB, free: 22.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.197, allocations: 0 / 413.1 MB, free: 22.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006465/0.1977, allocations: 407.4 kB / 413.4 MB, free: 22.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1977, allocations: 4.156 kB / 413.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1977, allocations: 0 / 413.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1977, allocations: 7.984 kB / 413.5 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.198, allocations: 75.89 kB / 413.5 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.198, allocations: 4 kB / 413.5 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1981, allocations: 63.59 kB / 413.6 MB, free: 21.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.1982, allocations: 7.938 kB / 413.6 MB, free: 21.93 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.61e-05/0.1983, allocations: 145.8 kB / 413.8 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1983, allocations: 19.72 kB / 413.8 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.1984, allocations: 17.88 kB / 413.8 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1984, allocations: 4 kB / 413.8 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1984, allocations: 0 / 413.8 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1984, allocations: 7.984 kB / 413.8 MB, free: 21.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009052/0.1993, allocations: 0.6776 MB / 414.5 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1993, allocations: 0 / 414.5 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.1995, allocations: 55.89 kB / 414.5 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1996, allocations: 4 kB / 414.5 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1996, allocations: 4 kB / 414.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1996, allocations: 4 kB / 414.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1996, allocations: 0 / 414.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008194/0.2004, allocations: 0.537 MB / 415.1 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.2005, allocations: 100.8 kB / 415.2 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.2005, allocations: 8.062 kB / 415.2 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.2007, allocations: 28.09 kB / 415.2 MB, free: 20.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.2007, allocations: 27.91 kB / 415.2 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2007, allocations: 4 kB / 415.2 MB, free: 20.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.748e-05/0.2008, allocations: 151.2 kB / 415.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2008, allocations: 0 / 415.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.2011, allocations: 63.98 kB / 415.5 MB, free: 19.98 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.000327/0.2015, allocations: 223.8 kB / 415.7 MB, free: 19.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.2021, allocations: 328.2 kB / 416 MB, free: 19.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2021, allocations: 0 / 416 MB, free: 19.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.2024, allocations: 131.9 kB / 416.1 MB, free: 19.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.2027, allocations: 23.98 kB / 416.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.2034, allocations: 0.5304 MB / 416.7 MB, free: 18.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.2035, allocations: 0.7437 MB / 417.4 MB, free: 17.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.2036, allocations: 37.92 kB / 417.5 MB, free: 17.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.2037, allocations: 23.42 kB / 417.5 MB, free: 17.93 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2037, allocations: 0 / 417.5 MB, free: 17.93 MB / 298.7 MB Notification: Performance of Templates: time 0.004686/0.2084, allocations: 2.773 MB / 420.3 MB, free: 15.17 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches