Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 59.91 kB / 378.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3028, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002964/0.3058, allocations: 1.508 MB / 433.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.307, allocations: 0.5997 MB / 434.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.3071, allocations: 0 / 434.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.596e-05/0.3072, allocations: 11.88 kB / 434.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.3073, allocations: 15.8 kB / 434.2 MB, free: 4.953 MB / 334.1 MB [/home/hudson/saved_omc/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.0006606/0.3079, allocations: 155.6 kB / 434.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3081, allocations: 115.7 kB / 434.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.3082, allocations: 5.312 kB / 434.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.3082, allocations: 51.72 kB / 434.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006326/0.3089, allocations: 80.97 kB / 434.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3089, allocations: 8 kB / 434.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.3092, allocations: 151.7 kB / 434.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.3093, allocations: 31.91 kB / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.3094, allocations: 47.67 kB / 434.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.3097, allocations: 201 kB / 435.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3097, allocations: 0 / 435.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3097, allocations: 4 kB / 435.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3097, allocations: 0 / 435.1 MB, free: 4.129 MB / 334.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.0006717/0.3104, allocations: 389.4 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3104, allocations: 8.031 kB / 435.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.3108, allocations: 40.77 kB / 435.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.3109, allocations: 138.4 kB / 435.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3109, allocations: 8.375 kB / 435.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.311, allocations: 4.375 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.3112, allocations: 119 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3112, allocations: 192 / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3112, allocations: 7.875 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3112, allocations: 0 / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.3114, allocations: 63.94 kB / 435.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006678/0.3121, allocations: 340.6 kB / 436.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.3124, allocations: 129 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3125, allocations: 45.77 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.3125, allocations: 0 / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.3128, allocations: 144.9 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 3.757e-06/0.3128, allocations: 4 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005439/0.3133, allocations: 241.6 kB / 436.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.3134, allocations: 93.09 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3136, allocations: 170.3 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.3136, allocations: 45.69 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.3137, allocations: 104.6 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.3137, allocations: 47.67 kB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-05/0.3138, allocations: 57.92 kB / 437.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.314, allocations: 326.8 kB / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.3142, allocations: 100.5 kB / 437.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.3144, allocations: 132.2 kB / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3148, allocations: 215.3 kB / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3148, allocations: 3.938 kB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005078/0.3153, allocations: 289.4 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3153, allocations: 8 kB / 438.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3153, allocations: 0 / 438.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3153, allocations: 4 kB / 438.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3155, allocations: 31.98 kB / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3155, allocations: 4 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.3156, allocations: 27.77 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3156, allocations: 8 kB / 438.4 MB, free: 0.6055 MB / 334.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.0001442/0.3157, allocations: 153.8 kB / 438.5 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.3158, allocations: 15.91 kB / 438.5 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.3158, allocations: 9.406 kB / 438.5 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3158, allocations: 8 kB / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3158, allocations: 0 / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3158, allocations: 0 / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.316, allocations: 188.5 kB / 438.7 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.316, allocations: 0 / 438.7 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.3161, allocations: 4 kB / 438.7 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3161, allocations: 4 kB / 438.7 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3161, allocations: 7.984 kB / 438.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3161, allocations: 0 / 438.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3161, allocations: 0 / 438.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.3165, allocations: 225.7 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.3165, allocations: 15.84 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.3165, allocations: 8 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.3166, allocations: 11.98 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.3167, allocations: 7.984 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.3167, allocations: 8 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.3168, allocations: 132.2 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3168, allocations: 0 / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.3171, allocations: 47.92 kB / 439.2 MB, free: 15.7 MB / 350.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.0004694/0.3175, allocations: 205.8 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.318, allocations: 179.1 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.318, allocations: 0 / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3181, allocations: 59.83 kB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.3183, allocations: 12.12 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.3187, allocations: 247.9 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3191, allocations: 0.7041 MB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.3191, allocations: 20.91 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.3192, allocations: 19.42 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3192, allocations: 4 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Templates: time 0.005681/0.3248, allocations: 2.04 MB / 442.7 MB, free: 12.19 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.590504211373627]