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.001573/0.001573, allocations: 88.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.004753/0.004753, allocations: 160.2 kB / 24.91 MB, free: 8.77 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.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.062 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.352e-06/1.352e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.734e-05, allocations: 2.312 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001806/0.001823, allocations: 1.524 MB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008474/0.00267, allocations: 0.5916 MB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.002715, allocations: 0 / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.747e-05/0.002812, allocations: 7.875 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.002876, allocations: 27.78 kB / 275.5 MB, free: 14.92 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.0004669/0.003343, allocations: 155.3 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.003466, allocations: 111.7 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.003502, allocations: 9.969 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.003575, allocations: 67.8 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.003931, allocations: 75.31 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.003954, allocations: 12 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.004148, allocations: 143.7 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.004194, allocations: 27.86 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.004231, allocations: 35.91 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.004457, allocations: 187.4 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004458, allocations: 0 / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.004459, allocations: 0 / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004463, allocations: 4 kB / 276.3 MB, free: 14.12 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.000399/0.004862, allocations: 352 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.0049, allocations: 11.98 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.005091, allocations: 44.83 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.005192, allocations: 154.2 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.005207, allocations: 4.375 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.005221, allocations: 12.38 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.00533, allocations: 81.55 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.005336, allocations: 192 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.005344, allocations: 8.375 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005349, allocations: 384 / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.005381, allocations: 21.53 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.005666, allocations: 218.7 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.005761, allocations: 97.12 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.005787, allocations: 33.62 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.005793, allocations: 0 / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.005902, allocations: 107.8 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 6.51e-07/0.005903, allocations: 3.938 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001423/0.006045, allocations: 107.6 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.006093, allocations: 93.03 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.00618, allocations: 170.6 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.006208, allocations: 49.69 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.006245, allocations: 92.61 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.006275, allocations: 47.66 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.006326, allocations: 53.91 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.006402, allocations: 338.8 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.006441, allocations: 27.33 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.00649, allocations: 64.08 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.642e-05/0.006576, allocations: 104.6 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.006578, allocations: 0 / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001289/0.006707, allocations: 140.4 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.006719, allocations: 7.984 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.006727, allocations: 7.938 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.006739, allocations: 0 / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.006844, allocations: 39.98 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.006849, allocations: 8 kB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.00688, allocations: 15.89 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.006891, allocations: 11.92 kB / 278.8 MB, free: 11.41 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 7.712e-05/0.006968, allocations: 140.7 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.006981, allocations: 15.92 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.007004, allocations: 17.41 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007006, allocations: 0 / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.007008, allocations: 0 / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.007013, allocations: 7.984 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.544e-05/0.007099, allocations: 101.8 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.0071, allocations: 0 / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.007114, allocations: 7.984 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.007115, allocations: 0 / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.007122, allocations: 8 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007123, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.007124, allocations: 3.938 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.302e-05/0.007217, allocations: 118.4 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.007231, allocations: 15.84 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.00725, allocations: 16 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.007271, allocations: 3.984 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.007304, allocations: 15.92 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.007309, allocations: 4 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.038e-05/0.00734, allocations: 36.81 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00734, allocations: 0 / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.007485, allocations: 47.94 kB / 279.4 MB, free: 10.8 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.0003906/0.007875, allocations: 212.8 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.007995, allocations: 80.75 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.007997, allocations: 0 / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.008031, allocations: 28.78 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/0.008132, allocations: 27.98 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.008449, allocations: 241.8 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.008486, allocations: 67.34 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.00853, allocations: 25.2 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.008584, allocations: 63.38 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008584, allocations: 0 / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of Templates: time 0.003832/0.01242, allocations: 2.369 MB / 282.5 MB, free: 7.691 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 -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.8008871488273144]