Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2566, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00292/0.2596, allocations: 1.477 MB / 433.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2608, allocations: 0.5806 MB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.2609, allocations: 0 / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.261, allocations: 7.875 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.2611, allocations: 27.72 kB / 434.4 MB, free: 4.609 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0006543/0.2617, allocations: 147.6 kB / 434.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.2619, allocations: 115.6 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.2619, allocations: 5.312 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.262, allocations: 55.83 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006451/0.2626, allocations: 72.91 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.2627, allocations: 12 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.263, allocations: 147.7 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.263, allocations: 31.86 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.2631, allocations: 43.78 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.2634, allocations: 198.1 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2634, allocations: 0 / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2634, allocations: 3.938 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2634, allocations: 0 / 435.2 MB, free: 3.801 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.0007817/0.2642, allocations: 385.4 kB / 435.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2642, allocations: 8.031 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.2646, allocations: 44.75 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.2648, allocations: 142.4 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2648, allocations: 4.375 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.2648, allocations: 8.375 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.2651, allocations: 122.3 kB / 435.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2651, allocations: 0 / 435.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2651, allocations: 3.984 kB / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2651, allocations: 8 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.2653, allocations: 47.97 kB / 436 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.2659, allocations: 301.2 kB / 436.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.2663, allocations: 125 kB / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.2664, allocations: 53.75 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.2664, allocations: 0 / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.2667, allocations: 137 kB / 436.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.2667, allocations: 0 / 436.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005391/0.2672, allocations: 241.6 kB / 436.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.2673, allocations: 93.09 kB / 436.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.2675, allocations: 178.2 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/0.2675, allocations: 49.69 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.2676, allocations: 96.58 kB / 437.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.2677, allocations: 47.67 kB / 437.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.2677, allocations: 53.92 kB / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2679, allocations: 334.8 kB / 437.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.2681, allocations: 92.47 kB / 437.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.2683, allocations: 128.4 kB / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.2686, allocations: 215.3 kB / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2686, allocations: 0 / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000506/0.2692, allocations: 293.4 kB / 438.4 MB, free: 440 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2692, allocations: 7.938 kB / 438.4 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2692, allocations: 0 / 438.4 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2692, allocations: 4 kB / 438.4 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2694, allocations: 27.92 kB / 438.4 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.2694, allocations: 8.047 kB / 438.4 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.2694, allocations: 23.84 kB / 438.5 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.2695, allocations: 8 kB / 438.5 MB, free: 360 kB / 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.0001472/0.2696, allocations: 153.8 kB / 438.6 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.2696, allocations: 11.91 kB / 438.6 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.2697, allocations: 17.39 kB / 438.6 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2697, allocations: 0 / 438.6 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2697, allocations: 4 kB / 438.6 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2697, allocations: 4 kB / 438.6 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.2699, allocations: 141.2 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2699, allocations: 11.94 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.2699, allocations: 7.938 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2699, allocations: 0 / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.27, allocations: 4 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.27, allocations: 0 / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.27, allocations: 0 / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.2703, allocations: 225.7 kB / 439 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.2704, allocations: 23.83 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.2704, allocations: 12 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.2705, allocations: 7.984 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.2705, allocations: 7.984 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2705, allocations: 4 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2706, allocations: 132.2 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2706, allocations: 0 / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.271, allocations: 51.86 kB / 439.3 MB, free: 15.48 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.0005434/0.2715, allocations: 207.6 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.2719, allocations: 179.8 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2719, allocations: 4.125 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.2721, allocations: 51.97 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.2723, allocations: 11.94 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.2728, allocations: 247.9 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.2729, allocations: 97.77 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.273, allocations: 16.97 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.273, allocations: 19.44 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.273, allocations: 0 / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Templates: time 0.005957/0.279, allocations: 2.119 MB / 442.2 MB, free: 12.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.392732817999786]