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.001289/0.001289, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002158/0.003447, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001334/0.001334, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001727/0.003061, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9599/0.9599, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1128/1.073, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 2.004e-06/2.004e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.704e-05, allocations: 6.25 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002573/0.00259, allocations: 1.568 MB / 246.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003602, allocations: 0.5885 MB / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.003664, allocations: 0 / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.003719, allocations: 7.875 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.002e-05/0.003799, allocations: 23.78 kB / 247.2 MB, free: 11.44 MB / 250.7 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.0005126/0.004312, allocations: 151.3 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.004482, allocations: 107.7 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.004528, allocations: 9.906 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.004677, allocations: 83.84 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.005097, allocations: 83.08 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.005128, allocations: 8 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.005435, allocations: 147.7 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.005483, allocations: 23.88 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.005529, allocations: 23.94 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.005823, allocations: 167.4 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.005838, allocations: 4 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005839, allocations: 0 / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.005856, allocations: 0 / 248 MB, free: 10.66 MB / 250.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.0006235/0.006479, allocations: 383.6 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.006517, allocations: 12.62 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.006839, allocations: 118 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.00698, allocations: 154.2 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.007002, allocations: 4.375 kB / 248.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.007024, allocations: 16.34 kB / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.007191, allocations: 86.75 kB / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.0072, allocations: 192 / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.00721, allocations: 384 / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007217, allocations: 384 / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.00727, allocations: 29.52 kB / 248.8 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.007656, allocations: 210.8 kB / 249 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.007783, allocations: 97.05 kB / 249.1 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.007817, allocations: 21.66 kB / 249.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.007826, allocations: 11.94 kB / 249.1 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.007992, allocations: 103.9 kB / 249.2 MB, free: 9.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.007994, allocations: 0 / 249.2 MB, free: 9.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001893/0.008183, allocations: 103.2 kB / 249.3 MB, free: 9.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.008252, allocations: 93.03 kB / 249.4 MB, free: 9.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.008386, allocations: 178.5 kB / 249.6 MB, free: 8.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.008422, allocations: 41.7 kB / 249.6 MB, free: 8.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.008476, allocations: 96.61 kB / 249.7 MB, free: 8.738 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.008523, allocations: 47.59 kB / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.008599, allocations: 57.89 kB / 249.8 MB, free: 8.625 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.008702, allocations: 330.8 kB / 250.2 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.008767, allocations: 31.33 kB / 250.2 MB, free: 8.258 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.008839, allocations: 64.94 kB / 250.2 MB, free: 8.188 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.008974, allocations: 104.6 kB / 250.3 MB, free: 8.074 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.008977, allocations: 0 / 250.3 MB, free: 8.074 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001969/0.009174, allocations: 136.4 kB / 250.5 MB, free: 7.934 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.009187, allocations: 4 kB / 250.5 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.009195, allocations: 3.938 kB / 250.5 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.009206, allocations: 8.062 kB / 250.5 MB, free: 7.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.009372, allocations: 47.91 kB / 250.5 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.009377, allocations: 4 kB / 250.5 MB, free: 7.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.009433, allocations: 19.83 kB / 250.6 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.009447, allocations: 8 kB / 250.6 MB, free: 7.84 MB / 250.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,globalSeed.seed,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,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 9.99e-05/0.009547, allocations: 140.7 kB / 250.7 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.009566, allocations: 15.92 kB / 250.7 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.009593, allocations: 17.41 kB / 250.7 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009595, allocations: 4 kB / 250.7 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009597, allocations: 0 / 250.7 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.0096, allocations: 0 / 250.7 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.009718, allocations: 93.81 kB / 250.8 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009719, allocations: 4 kB / 250.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.009749, allocations: 4 kB / 250.8 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.009771, allocations: 19.83 kB / 250.9 MB, free: 7.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.009774, allocations: 4 kB / 250.9 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.009781, allocations: 0 / 250.9 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.009784, allocations: 3.938 kB / 250.9 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.009785, allocations: 0 / 250.9 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.009921, allocations: 122.4 kB / 251 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.009948, allocations: 12 kB / 251 MB, free: 7.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.009985, allocations: 4 kB / 251 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.01003, allocations: 19.91 kB / 251 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01003, allocations: 4 kB / 251 MB, free: 7.332 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.365e-05/0.01008, allocations: 36.81 kB / 251.1 MB, free: 7.293 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01008, allocations: 0 / 251.1 MB, free: 7.293 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.01032, allocations: 51.92 kB / 251.1 MB, free: 7.242 MB / 250.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.0004783/0.0108, allocations: 231.6 kB / 251.3 MB, free: 7.055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.01097, allocations: 89.3 kB / 251.4 MB, free: 6.965 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.01098, allocations: 8.125 kB / 251.4 MB, free: 6.957 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.01103, allocations: 28.78 kB / 251.5 MB, free: 6.926 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.01117, allocations: 23.98 kB / 251.5 MB, free: 6.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.01169, allocations: 241.9 kB / 251.7 MB, free: 6.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.52e-05/0.01173, allocations: 75.19 kB / 251.8 MB, free: 6.539 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.01179, allocations: 16.97 kB / 251.8 MB, free: 6.516 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.01186, allocations: 63.38 kB / 251.9 MB, free: 6.453 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01186, allocations: 0 / 251.9 MB, free: 6.453 MB / 250.7 MB Notification: Performance of Templates: time 0.005162/0.01703, allocations: 2.412 MB / 254.3 MB, free: 4.062 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5231143264099956]