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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000932/0.000932, allocations: 81.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 139.9 kB / 24.88 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.978/0.978, allocations: 173.4 MB / 201.5 MB, free: 9.203 MB / 186.7 MB " [Timeout remaining time 179] 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=5101,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=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.149e-05, allocations: 2.312 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001868/0.001889, allocations: 1.546 MB / 270.1 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008483/0.002737, allocations: 0.6039 MB / 270.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.00278, allocations: 0 / 270.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.93e-05/0.00286, allocations: 11.88 kB / 270.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.002917, allocations: 23.78 kB / 270.7 MB, free: 3.953 MB / 250.7 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.0003797/0.003296, allocations: 147.3 kB / 270.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.003412, allocations: 119.6 kB / 271 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.466e-05/0.003446, allocations: 5.969 kB / 271 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.003512, allocations: 63.88 kB / 271 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.003854, allocations: 78.91 kB / 271.1 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.003877, allocations: 12 kB / 271.1 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.00409, allocations: 151.7 kB / 271.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.004126, allocations: 31.92 kB / 271.3 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.004159, allocations: 31.91 kB / 271.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.004382, allocations: 191.3 kB / 271.5 MB, free: 3.152 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004383, allocations: 0 / 271.5 MB, free: 3.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004384, allocations: 0 / 271.5 MB, free: 3.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004388, allocations: 0 / 271.5 MB, free: 3.152 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.0003423/0.00473, allocations: 344 kB / 271.9 MB, free: 2.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.004759, allocations: 16.91 kB / 271.9 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.004952, allocations: 52.78 kB / 271.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/0.005042, allocations: 150.3 kB / 272.1 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.005055, allocations: 4.375 kB / 272.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.005065, allocations: 4.375 kB / 272.1 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.005176, allocations: 94.05 kB / 272.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005183, allocations: 0 / 272.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.00519, allocations: 0 / 272.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005194, allocations: 0 / 272.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.2e-05/0.005226, allocations: 25.64 kB / 272.2 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.005502, allocations: 214.5 kB / 272.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.751e-05/0.00559, allocations: 109.2 kB / 272.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.005612, allocations: 25.64 kB / 272.5 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.005619, allocations: 4 kB / 272.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.00572, allocations: 99.83 kB / 272.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.005721, allocations: 0 / 272.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001263/0.005847, allocations: 103.2 kB / 272.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.005889, allocations: 93.09 kB / 272.8 MB, free: 1.684 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.005973, allocations: 166.6 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.005996, allocations: 41.69 kB / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.006031, allocations: 108.6 kB / 273.1 MB, free: 1.352 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.006058, allocations: 39.67 kB / 273.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.006107, allocations: 49.91 kB / 273.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.006179, allocations: 338.8 kB / 273.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.00622, allocations: 39.27 kB / 273.6 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.703e-05/0.006267, allocations: 55.52 kB / 273.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.006356, allocations: 108.6 kB / 273.8 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.006358, allocations: 0 / 273.8 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000136/0.006494, allocations: 152.3 kB / 273.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.006505, allocations: 4 kB / 273.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.00651, allocations: 0 / 273.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.006523, allocations: 7.938 kB / 273.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.006632, allocations: 35.98 kB / 273.9 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.006636, allocations: 4 kB / 274 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.006668, allocations: 15.89 kB / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.006679, allocations: 7.984 kB / 274 MB, free: 468 kB / 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 8.049e-05/0.006759, allocations: 148.7 kB / 274.1 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.006771, allocations: 11.98 kB / 274.1 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.006793, allocations: 13.47 kB / 274.1 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006794, allocations: 0 / 274.1 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.006797, allocations: 3.984 kB / 274.1 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.006801, allocations: 4 kB / 274.2 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.024e-05/0.006881, allocations: 93.75 kB / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006882, allocations: 0 / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.006902, allocations: 15.86 kB / 274.3 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.006904, allocations: 4 kB / 274.3 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.006911, allocations: 8 kB / 274.3 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.006912, allocations: 0 / 274.3 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006913, allocations: 0 / 274.3 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.007021, allocations: 117.6 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.007036, allocations: 19.78 kB / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.007055, allocations: 12 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.007077, allocations: 11.94 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.007108, allocations: 3.984 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.007113, allocations: 4 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.007144, allocations: 49.75 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007144, allocations: 0 / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.007296, allocations: 55.92 kB / 274.5 MB, free: 15.84 MB / 266.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.0003643/0.00766, allocations: 214.8 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.007784, allocations: 84.75 kB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.007788, allocations: 4 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.007822, allocations: 32.77 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.007924, allocations: 19.92 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.008187, allocations: 229.9 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.008218, allocations: 71.33 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.008257, allocations: 17.09 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.008311, allocations: 63.36 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008312, allocations: 0 / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of Templates: time 0.003869/0.01218, allocations: 2.366 MB / 277.6 MB, free: 12.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",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.714795121923089]