Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 112.2 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 187.1 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.00114, allocations: 43.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2953, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002696/0.298, allocations: 1.472 MB / 402.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2992, allocations: 0.579 MB / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.2992, allocations: 0 / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.315e-05/0.2993, allocations: 7.875 kB / 403.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.2994, allocations: 19.8 kB / 403.5 MB, free: 6.785 MB / 318.1 MB [/home/hudson/saved_omc/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.0005533/0.3, allocations: 143.6 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.3002, allocations: 115.7 kB / 403.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.3002, allocations: 9.109 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.032e-05/0.3003, allocations: 47.78 kB / 403.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.3009, allocations: 82.05 kB / 403.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3009, allocations: 8 kB / 403.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.3011, allocations: 111.8 kB / 404 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.3012, allocations: 31.86 kB / 404 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.3012, allocations: 59.66 kB / 404.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.3016, allocations: 192.9 kB / 404.3 MB, free: 6.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3016, allocations: 4 kB / 404.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3016, allocations: 0 / 404.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3016, allocations: 3.984 kB / 404.3 MB, free: 6 MB / 318.1 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.0006638/0.3023, allocations: 453.7 kB / 404.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3023, allocations: 11.97 kB / 404.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.3026, allocations: 36.73 kB / 404.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3028, allocations: 204 kB / 405 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3028, allocations: 12.12 kB / 405 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3029, allocations: 4 kB / 405 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.3031, allocations: 111.3 kB / 405.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3031, allocations: 0 / 405.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3031, allocations: 3.984 kB / 405.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3031, allocations: 0 / 405.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3033, allocations: 67.89 kB / 405.2 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.304, allocations: 369.4 kB / 405.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.3043, allocations: 129.2 kB / 405.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3044, allocations: 61.73 kB / 405.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.3044, allocations: 0 / 405.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.3047, allocations: 148.9 kB / 405.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.3047, allocations: 0 / 405.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004987/0.3052, allocations: 233.4 kB / 406.1 MB, free: 4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.3053, allocations: 93.08 kB / 406.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3055, allocations: 170.4 kB / 406.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.3055, allocations: 45.7 kB / 406.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.3056, allocations: 108.5 kB / 406.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.3056, allocations: 39.55 kB / 406.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.3057, allocations: 61.91 kB / 406.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3059, allocations: 334.8 kB / 406.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.306, allocations: 96.39 kB / 407 MB, free: 3.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.3062, allocations: 129.1 kB / 407.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.3066, allocations: 215.4 kB / 407.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3066, allocations: 0 / 407.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000487/0.3071, allocations: 285.3 kB / 407.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3071, allocations: 8 kB / 407.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3071, allocations: 4.062 kB / 407.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3071, allocations: 4 kB / 407.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.3073, allocations: 31.92 kB / 407.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3073, allocations: 3.938 kB / 407.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.3074, allocations: 23.73 kB / 407.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.3074, allocations: 8 kB / 407.7 MB, free: 2.293 MB / 318.1 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,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * 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.0001397/0.3076, allocations: 145.8 kB / 407.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.3076, allocations: 19.81 kB / 407.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.3076, allocations: 17.41 kB / 407.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3076, allocations: 96 / 407.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.3077, allocations: 7.922 kB / 407.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3077, allocations: 3.984 kB / 407.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.3079, allocations: 205.5 kB / 408.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3079, allocations: 0 / 408.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.3079, allocations: 4 kB / 408.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.3079, allocations: 7.984 kB / 408.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3079, allocations: 0 / 408.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.308, allocations: 4 kB / 408.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.308, allocations: 11.88 kB / 408.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.3083, allocations: 220.9 kB / 408.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.3084, allocations: 92.86 kB / 408.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.3084, allocations: 15.98 kB / 408.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.3085, allocations: 8 kB / 408.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.3085, allocations: 15.92 kB / 408.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.3086, allocations: 4 kB / 408.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.615e-05/0.3087, allocations: 128.2 kB / 408.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3087, allocations: 3.938 kB / 408.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.309, allocations: 51.98 kB / 408.7 MB, free: 1.242 MB / 318.1 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.0004771/0.3094, allocations: 212.7 kB / 408.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003987/0.3099, allocations: 187.8 kB / 409 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3099, allocations: 4.125 kB / 409 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.31, allocations: 63.91 kB / 409.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.3102, allocations: 4 kB / 409.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.3107, allocations: 273.5 kB / 409.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.311, allocations: 0.708 MB / 410.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.3111, allocations: 23.44 kB / 410.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3111, allocations: 0 / 410.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Templates: time 0.004943/0.316, allocations: 2.314 MB / 412.4 MB, free: 13.43 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches