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.001217/0.001217, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.004206/0.004206, allocations: 164.2 kB / 24.91 MB, free: 8.758 MB / 18.57 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.081/1.081, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.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 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.963e-05, allocations: 2.312 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002185/0.002205, allocations: 1.564 MB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.003146, allocations: 0.5916 MB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.003186, allocations: 8 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.782e-05/0.003254, allocations: 7.875 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.003308, allocations: 11.86 kB / 275.6 MB, free: 14.84 MB / 266.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.0005231/0.003831, allocations: 155.3 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.003956, allocations: 119.5 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.003989, allocations: 9.969 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.004057, allocations: 59.88 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.004383, allocations: 71 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.004409, allocations: 12 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.004644, allocations: 147.8 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.004682, allocations: 31.83 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.004719, allocations: 35.91 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.004957, allocations: 191.3 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.004959, allocations: 0 / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004959, allocations: 0 / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.004963, allocations: 0 / 276.4 MB, free: 14.03 MB / 266.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.0003823/0.005346, allocations: 352 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.005377, allocations: 11.98 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.005591, allocations: 52.83 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.00569, allocations: 150.3 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.005708, allocations: 4.375 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.005719, allocations: 8.375 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.005839, allocations: 81.64 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005846, allocations: 192 / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.005855, allocations: 8.359 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.005862, allocations: 4.359 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.005896, allocations: 21.59 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.006184, allocations: 222.6 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.646e-05/0.006281, allocations: 101 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.006305, allocations: 25.7 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.006313, allocations: 4 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.006422, allocations: 103.9 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 8.42e-07/0.006423, allocations: 0 / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000153/0.006576, allocations: 111.6 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.006623, allocations: 85.11 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.006731, allocations: 174.5 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.006755, allocations: 45.69 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.006794, allocations: 96.61 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.006826, allocations: 47.66 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.00688, allocations: 49.91 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.006962, allocations: 342.8 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.007004, allocations: 35.27 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.783e-05/0.007052, allocations: 56.08 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.146e-05/0.007143, allocations: 96.64 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007145, allocations: 4 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000136/0.007281, allocations: 140.4 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.007293, allocations: 11.94 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.007302, allocations: 7.922 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.007317, allocations: 3.984 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.007427, allocations: 39.98 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007431, allocations: 7.938 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.007466, allocations: 19.88 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.007476, allocations: 4 kB / 278.9 MB, free: 11.32 MB / 266.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.512e-05/0.007561, allocations: 144.7 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.007577, allocations: 11.98 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.007602, allocations: 17.41 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007604, allocations: 96 / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007608, allocations: 3.984 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007612, allocations: 3.984 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.019e-05/0.007702, allocations: 101.8 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007703, allocations: 0 / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.007721, allocations: 15.92 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.007722, allocations: 4 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.007728, allocations: 4 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.007729, allocations: 0 / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.007731, allocations: 3.938 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.221e-05/0.007823, allocations: 110.4 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.007838, allocations: 19.83 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.007857, allocations: 12 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.007877, allocations: 3.984 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.007912, allocations: 11.92 kB / 279.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.00792, allocations: 4 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.007954, allocations: 44.75 kB / 279.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007954, allocations: 4 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.00812, allocations: 43.94 kB / 279.5 MB, free: 10.71 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.0004094/0.00853, allocations: 220.9 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.008659, allocations: 84.75 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.008662, allocations: 0 / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.008695, allocations: 28.78 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.008799, allocations: 19.98 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.009068, allocations: 241.8 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4e-05/0.009108, allocations: 67.47 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.036e-05/0.009148, allocations: 29.02 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.0092, allocations: 59.38 kB / 280.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.009201, allocations: 0 / 280.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of Templates: time 0.003812/0.01301, allocations: 2.377 MB / 282.6 MB, free: 7.59 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.8128694090992212]