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.0009617/0.0009617, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.004031/0.004031, allocations: 154.3 kB / 24.69 MB, free: 8.914 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 0.89/0.89, allocations: 177 MB / 204.9 MB, free: 5.762 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.603e-06/1.603e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.474e-05, allocations: 4.953 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002252/0.002287, allocations: 1.481 MB / 327.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.003276, allocations: 0.5723 MB / 327.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.00333, allocations: 4 kB / 327.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.00344, allocations: 15.8 kB / 327.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.0035, allocations: 11.81 kB / 327.9 MB, free: 13.28 MB / 298.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.0005125/0.004013, allocations: 151.4 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.004236, allocations: 115.6 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.004281, allocations: 9.297 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.004355, allocations: 63.88 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/0.004775, allocations: 65.89 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.0048, allocations: 12 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.005006, allocations: 147.7 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.005061, allocations: 23.92 kB / 328.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.005106, allocations: 39.84 kB / 328.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.005373, allocations: 211.4 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005376, allocations: 4 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005378, allocations: 0 / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.005382, allocations: 0 / 328.7 MB, free: 12.46 MB / 298.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.0005152/0.005897, allocations: 397.3 kB / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.005936, allocations: 15.98 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.006135, allocations: 36.86 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.006252, allocations: 141.5 kB / 329.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.006271, allocations: 8.375 kB / 329.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.006286, allocations: 4.375 kB / 329.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.006447, allocations: 107.9 kB / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.006456, allocations: 4.125 kB / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.00647, allocations: 12.34 kB / 329.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.006475, allocations: 4.375 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.006574, allocations: 55.91 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.006982, allocations: 297.2 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.007168, allocations: 121.1 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.007228, allocations: 57.75 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.007236, allocations: 0 / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.007406, allocations: 140 kB / 330.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.32e-07/0.007406, allocations: 0 / 330.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003055/0.007712, allocations: 245.5 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.007757, allocations: 89.09 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.007943, allocations: 174.3 kB / 330.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.007972, allocations: 53.69 kB / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.008027, allocations: 104.6 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.00806, allocations: 43.66 kB / 330.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.008125, allocations: 61.88 kB / 330.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.008218, allocations: 330.8 kB / 331.1 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.008341, allocations: 92.45 kB / 331.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.008534, allocations: 132 kB / 331.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.00874, allocations: 214.9 kB / 331.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.008742, allocations: 0 / 331.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002941/0.009036, allocations: 293.3 kB / 331.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.00905, allocations: 4 kB / 331.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.009056, allocations: 0 / 331.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009069, allocations: 4 kB / 331.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.009157, allocations: 31.92 kB / 331.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.009163, allocations: 0 / 331.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.009204, allocations: 35.83 kB / 331.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.009215, allocations: 4 kB / 331.9 MB, free: 8.98 MB / 298.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,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 9.558e-05/0.00931, allocations: 149.8 kB / 332.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.009323, allocations: 11.89 kB / 332.1 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.009345, allocations: 17.45 kB / 332.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009348, allocations: 96 / 332.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.009352, allocations: 0 / 332.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.009356, allocations: 7.984 kB / 332.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.00946, allocations: 141.2 kB / 332.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009462, allocations: 4 kB / 332.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.009482, allocations: 11.92 kB / 332.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.009483, allocations: 0 / 332.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.009492, allocations: 7.938 kB / 332.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009494, allocations: 4 kB / 332.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.009495, allocations: 0 / 332.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.009693, allocations: 221.7 kB / 332.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.009709, allocations: 15.89 kB / 332.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.009729, allocations: 19.94 kB / 332.5 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.373e-05/0.009753, allocations: 4 kB / 332.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.009792, allocations: 11.97 kB / 332.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.009799, allocations: 8 kB / 332.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.038e-05/0.00986, allocations: 120.2 kB / 332.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00986, allocations: 0 / 332.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.01007, allocations: 51.92 kB / 332.7 MB, free: 8.133 MB / 298.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.0002982/0.01037, allocations: 210.8 kB / 332.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.0106, allocations: 171.8 kB / 333.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0106, allocations: 0 / 333.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.01081, allocations: 64.08 kB / 333.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.01093, allocations: 4 kB / 333.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.01128, allocations: 284.7 kB / 333.4 MB, free: 7.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.967e-05/0.01134, allocations: 97.77 kB / 333.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.01137, allocations: 20.44 kB / 333.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01137, allocations: 0 / 333.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of Templates: time 0.0028/0.01417, allocations: 2.358 MB / 335.9 MB, free: 4.902 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.100980828516185]