Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 192 kB / 17.42 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008651/0.0008651, allocations: 100.6 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002229/0.000223, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2238, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001163/0.225, allocations: 1.219 MB / 413.3 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.226, allocations: 1.039 MB / 414.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.226, allocations: 0 / 414.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.646e-05/0.2261, allocations: 3.938 kB / 414.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.2262, allocations: 19.86 kB / 414.3 MB, free: 23.51 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.000392/0.2266, allocations: 111.8 kB / 414.4 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.264e-05/0.2267, allocations: 109.4 kB / 414.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.2267, allocations: 16.86 kB / 414.6 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.2268, allocations: 43.83 kB / 414.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007051/0.2275, allocations: 79.48 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.2275, allocations: 4.719 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2277, allocations: 91.91 kB / 414.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.2277, allocations: 36.62 kB / 414.8 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.2278, allocations: 77.36 kB / 414.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.228, allocations: 185.8 kB / 415.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.228, allocations: 0 / 415.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.228, allocations: 5.156 kB / 415.1 MB, free: 22.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.228, allocations: 0 / 415.1 MB, free: 22.76 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.0004964/0.2285, allocations: 431 kB / 415.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2286, allocations: 11.97 kB / 415.5 MB, free: 22.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.2289, allocations: 44.72 kB / 415.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.229, allocations: 196 kB / 415.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.229, allocations: 4.375 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.229, allocations: 12.38 kB / 415.8 MB, free: 21.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.2293, allocations: 131.3 kB / 415.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2293, allocations: 0 / 415.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2293, allocations: 0 / 415.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2293, allocations: 0 / 415.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.2295, allocations: 67.91 kB / 416 MB, free: 21.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/0.2302, allocations: 381.4 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.2305, allocations: 137.1 kB / 416.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2306, allocations: 69.75 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.2306, allocations: 0 / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.2309, allocations: 145 kB / 416.7 MB, free: 20.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.787e-06/0.2309, allocations: 0 / 416.7 MB, free: 20.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004748/0.2314, allocations: 241.5 kB / 416.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2315, allocations: 97.03 kB / 417 MB, free: 20.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.2316, allocations: 178.3 kB / 417.2 MB, free: 20.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.2317, allocations: 49.69 kB / 417.2 MB, free: 20.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.2317, allocations: 100.6 kB / 417.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.2318, allocations: 43.53 kB / 417.4 MB, free: 20.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.2318, allocations: 4 kB / 417.4 MB, free: 20.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.2319, allocations: 330.8 kB / 417.7 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.232, allocations: 108.4 kB / 417.8 MB, free: 19.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.2322, allocations: 127.5 kB / 417.9 MB, free: 19.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.2325, allocations: 223.4 kB / 418.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2325, allocations: 0 / 418.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003801/0.2329, allocations: 295.9 kB / 418.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2329, allocations: 8 kB / 418.4 MB, free: 19.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2329, allocations: 64 / 418.4 MB, free: 19.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2329, allocations: 4 kB / 418.4 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2331, allocations: 27.98 kB / 418.5 MB, free: 19.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2331, allocations: 3.938 kB / 418.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.2332, allocations: 23.83 kB / 418.5 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.2332, allocations: 8 kB / 418.5 MB, free: 19.06 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.0001044/0.2333, allocations: 157.8 kB / 418.7 MB, free: 18.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.2333, allocations: 11.81 kB / 418.7 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.2334, allocations: 13.41 kB / 418.7 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2334, allocations: 4 kB / 418.7 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2334, allocations: 3.984 kB / 418.7 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2334, allocations: 0 / 418.7 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.2335, allocations: 209.5 kB / 418.9 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2335, allocations: 3.938 kB / 418.9 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.2336, allocations: 15.98 kB / 418.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2336, allocations: 4 kB / 418.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2336, allocations: 0 / 418.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2336, allocations: 7.938 kB / 418.9 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2336, allocations: 7.938 kB / 418.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.2339, allocations: 225.7 kB / 419.1 MB, free: 18.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.2339, allocations: 96.86 kB / 419.2 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.234, allocations: 11.98 kB / 419.3 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/0.234, allocations: 4 kB / 419.3 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.2341, allocations: 15.92 kB / 419.3 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2341, allocations: 4 kB / 419.3 MB, free: 18.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.591e-05/0.2341, allocations: 130.4 kB / 419.4 MB, free: 18.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2342, allocations: 0 / 419.4 MB, free: 18.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.2344, allocations: 52 kB / 419.5 MB, free: 18 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.0004082/0.2348, allocations: 217.9 kB / 419.7 MB, free: 17.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.2352, allocations: 187.8 kB / 419.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2352, allocations: 4 kB / 419.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2353, allocations: 64.03 kB / 419.9 MB, free: 17.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2355, allocations: 12 kB / 419.9 MB, free: 17.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.236, allocations: 283 kB / 420.2 MB, free: 17.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.2361, allocations: 0.7121 MB / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.2362, allocations: 16.81 kB / 420.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.2362, allocations: 15.44 kB / 421 MB, free: 16.47 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2362, allocations: 0 / 421 MB, free: 16.47 MB / 298.7 MB Notification: Performance of Templates: time 0.003907/0.2401, allocations: 1.83 MB / 422.8 MB, free: 14.64 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches