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.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 180.6 kB / 16.71 MB, free: 4.84 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.218/1.218, allocations: 225.7 MB / 243.2 MB, free: 8.441 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.000771/0.0007712, allocations: 89.5 kB / 294.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002461/0.0002462, allocations: 11.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2131, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00128/0.2145, allocations: 1.207 MB / 405.8 MB, free: 30.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009114/0.2154, allocations: 1.037 MB / 406.8 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.2155, allocations: 0.5625 kB / 406.8 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.602e-05/0.2156, allocations: 4.781 kB / 406.8 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.2156, allocations: 7.875 kB / 406.8 MB, free: 28.92 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.0004208/0.2161, allocations: 129.5 kB / 407 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.609e-05/0.2162, allocations: 103.7 kB / 407.1 MB, free: 28.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.2162, allocations: 13.11 kB / 407.1 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.2163, allocations: 35.86 kB / 407.1 MB, free: 28.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007287/0.217, allocations: 71.72 kB / 407.2 MB, free: 28.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.217, allocations: 4 kB / 407.2 MB, free: 28.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.2172, allocations: 96.42 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.2173, allocations: 35.78 kB / 407.3 MB, free: 28.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.2173, allocations: 79.11 kB / 407.4 MB, free: 28.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.2175, allocations: 189 kB / 407.6 MB, free: 28.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2175, allocations: 3.938 kB / 407.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2175, allocations: 0 / 407.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.2175, allocations: 4.75 kB / 407.6 MB, free: 28.17 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004927/0.218, allocations: 429.7 kB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2181, allocations: 8.031 kB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.2184, allocations: 48.66 kB / 408.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2185, allocations: 195.1 kB / 408.2 MB, free: 27.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.2185, allocations: 5.188 kB / 408.2 MB, free: 27.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.2186, allocations: 19.92 kB / 408.3 MB, free: 27.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.2188, allocations: 120.2 kB / 408.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2188, allocations: 0 / 408.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2188, allocations: 0 / 408.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2188, allocations: 3.984 kB / 408.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.219, allocations: 63.89 kB / 408.5 MB, free: 27.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.2196, allocations: 389.4 kB / 408.8 MB, free: 26.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.2199, allocations: 137.1 kB / 409 MB, free: 26.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.22, allocations: 65.75 kB / 409 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.2201, allocations: 0 / 409 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.2203, allocations: 141 kB / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.2203, allocations: 4 kB / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.000452/0.2208, allocations: 245.5 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.2209, allocations: 93.05 kB / 409.5 MB, free: 26.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.221, allocations: 186.1 kB / 409.7 MB, free: 25.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.221, allocations: 45.69 kB / 409.7 MB, free: 25.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.2211, allocations: 108.5 kB / 409.8 MB, free: 25.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.2212, allocations: 39.55 kB / 409.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.2212, allocations: 4 kB / 409.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.2213, allocations: 330.8 kB / 410.2 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.2214, allocations: 96.47 kB / 410.3 MB, free: 25.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.2216, allocations: 139.5 kB / 410.4 MB, free: 25.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.2219, allocations: 220.7 kB / 410.6 MB, free: 24.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2219, allocations: 0 / 410.6 MB, free: 24.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003758/0.2223, allocations: 294 kB / 410.9 MB, free: 24.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2223, allocations: 8 kB / 410.9 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2223, allocations: 0 / 410.9 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2223, allocations: 4.062 kB / 410.9 MB, free: 24.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.2225, allocations: 35.92 kB / 411 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2225, allocations: 0 / 411 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.2225, allocations: 19.78 kB / 411 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.2226, allocations: 15.98 kB / 411 MB, free: 24.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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 0.0001047/0.2227, allocations: 141.8 kB / 411.2 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.2227, allocations: 15.81 kB / 411.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.2227, allocations: 17.34 kB / 411.2 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2227, allocations: 4 kB / 411.2 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2228, allocations: 3.938 kB / 411.2 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2228, allocations: 8.016 kB / 411.2 MB, free: 24.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.2229, allocations: 213.5 kB / 411.4 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2229, allocations: 0 / 411.4 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.223, allocations: 8 kB / 411.4 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.223, allocations: 4 kB / 411.4 MB, free: 23.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.223, allocations: 4 kB / 411.4 MB, free: 23.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.223, allocations: 3.984 kB / 411.4 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.223, allocations: 4 kB / 411.4 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.2233, allocations: 225.6 kB / 411.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.2233, allocations: 96.84 kB / 411.7 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.2234, allocations: 12 kB / 411.8 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.2234, allocations: 7.984 kB / 411.8 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.2235, allocations: 15.86 kB / 411.8 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.2235, allocations: 4 kB / 411.8 MB, free: 23.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.2236, allocations: 126.2 kB / 411.9 MB, free: 23.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2236, allocations: 0 / 411.9 MB, free: 23.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.2238, allocations: 47.98 kB / 412 MB, free: 23.42 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003878/0.2242, allocations: 228.5 kB / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.2245, allocations: 202.2 kB / 412.4 MB, free: 23.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2246, allocations: 0 / 412.4 MB, free: 23.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.2247, allocations: 67.89 kB / 412.4 MB, free: 22.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.2248, allocations: 12.12 kB / 412.5 MB, free: 22.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.2252, allocations: 275.3 kB / 412.7 MB, free: 22.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2254, allocations: 0.7121 MB / 413.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.2254, allocations: 20.86 kB / 413.5 MB, free: 21.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.2254, allocations: 15.38 kB / 413.5 MB, free: 21.88 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2254, allocations: 0 / 413.5 MB, free: 21.88 MB / 298.7 MB Notification: Performance of Templates: time 0.003787/0.2292, allocations: 1.83 MB / 415.3 MB, free: 20.04 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches