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.001767/0.001767, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 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.002372/0.002372, allocations: 218.3 kB / 23 MB, free: 5.609 MB / 14.72 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.517/1.517, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001846/0.001846, allocations: 67.89 kB / 376.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3619, allocations: 53.32 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002789/0.3647, allocations: 1.504 MB / 431.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.366, allocations: 0.5919 MB / 431.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.3661, allocations: 3.938 kB / 431.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.3662, allocations: 15.86 kB / 431.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.3662, allocations: 19.81 kB / 431.9 MB, free: 5.422 MB / 334.1 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.0005747/0.3668, allocations: 139.6 kB / 432.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.367, allocations: 115.7 kB / 432.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.367, allocations: 9.109 kB / 432.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.3671, allocations: 47.78 kB / 432.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.3677, allocations: 77 kB / 432.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3677, allocations: 8 kB / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.3679, allocations: 115.9 kB / 432.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.368, allocations: 31.86 kB / 432.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.3681, allocations: 59.66 kB / 432.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.3684, allocations: 196.6 kB / 432.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3684, allocations: 0 / 432.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3684, allocations: 0 / 432.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3684, allocations: 0 / 432.7 MB, free: 4.648 MB / 334.1 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.0007121/0.3691, allocations: 458.5 kB / 433.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3692, allocations: 12.03 kB / 433.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.3695, allocations: 36.81 kB / 433.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.3697, allocations: 208.1 kB / 433.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3697, allocations: 4.375 kB / 433.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.3697, allocations: 8.375 kB / 433.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.37, allocations: 111.9 kB / 433.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.37, allocations: 192 / 433.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.37, allocations: 3.938 kB / 433.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.37, allocations: 4 kB / 433.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3702, allocations: 63.89 kB / 433.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.3708, allocations: 365.5 kB / 434 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.3711, allocations: 133 kB / 434.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3712, allocations: 45.77 kB / 434.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.3712, allocations: 0 / 434.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.3715, allocations: 151.6 kB / 434.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.3715, allocations: 0 / 434.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000532/0.372, allocations: 237.7 kB / 434.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.3721, allocations: 93.03 kB / 434.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3723, allocations: 178.2 kB / 434.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.3723, allocations: 53.69 kB / 434.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.3724, allocations: 104.6 kB / 434.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.3725, allocations: 43.67 kB / 435 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.3726, allocations: 57.92 kB / 435 MB, free: 2.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3727, allocations: 330.8 kB / 435.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.3729, allocations: 92.45 kB / 435.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.3731, allocations: 136.4 kB / 435.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.3735, allocations: 214.8 kB / 435.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3735, allocations: 4 kB / 435.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004882/0.374, allocations: 285.4 kB / 436.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.374, allocations: 12.06 kB / 436.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.374, allocations: 0 / 436.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.374, allocations: 96 / 436.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.3742, allocations: 35.91 kB / 436.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3742, allocations: 4 kB / 436.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.3742, allocations: 27.83 kB / 436.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3743, allocations: 4 kB / 436.2 MB, free: 0.9219 MB / 334.1 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 0.0001418/0.3744, allocations: 149.8 kB / 436.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.3744, allocations: 15.91 kB / 436.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.3745, allocations: 9.406 kB / 436.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3745, allocations: 11.88 kB / 436.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3745, allocations: 0 / 436.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3745, allocations: 0 / 436.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.3747, allocations: 217.5 kB / 436.5 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3747, allocations: 0 / 436.5 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.3747, allocations: 4 kB / 436.6 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3747, allocations: 4 kB / 436.6 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3747, allocations: 7.984 kB / 436.6 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3747, allocations: 0 / 436.6 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3747, allocations: 0 / 436.6 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.3751, allocations: 217.8 kB / 436.8 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.3752, allocations: 92.95 kB / 436.9 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.3752, allocations: 12 kB / 436.9 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.3753, allocations: 15.92 kB / 436.9 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.3753, allocations: 11.98 kB / 436.9 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.3753, allocations: 4 kB / 436.9 MB, free: 60 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3754, allocations: 128.2 kB / 437 MB, free: 15.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3754, allocations: 0 / 437 MB, free: 15.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.3757, allocations: 51.92 kB / 437.1 MB, free: 15.88 MB / 350.1 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.0004642/0.3762, allocations: 196.2 kB / 437.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004324/0.3766, allocations: 179.9 kB / 437.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3766, allocations: 4.125 kB / 437.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3768, allocations: 55.91 kB / 437.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.3769, allocations: 8 kB / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.3774, allocations: 255.7 kB / 437.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3778, allocations: 0.716 MB / 438.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.657e-05/0.3779, allocations: 16.88 kB / 438.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.3779, allocations: 19.38 kB / 438.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3779, allocations: 0 / 438.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Templates: time 0.005493/0.3834, allocations: 2.016 MB / 440.5 MB, free: 12.39 MB / 350.1 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: 4.843328261747956]