Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001345/0.001345, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002251/0.002251, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.602/1.602, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 64.77 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3465, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003995/0.3505, allocations: 1.508 MB / 433.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3519, allocations: 0.5963 MB / 434.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.352, allocations: 0 / 434.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.3521, allocations: 15.81 kB / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.3522, allocations: 15.86 kB / 434.5 MB, free: 4.82 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0006779/0.3529, allocations: 151.5 kB / 434.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3531, allocations: 115.7 kB / 434.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.3532, allocations: 5.312 kB / 434.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.381e-05/0.3533, allocations: 47.83 kB / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.354, allocations: 74.48 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.354, allocations: 15.94 kB / 434.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.3543, allocations: 147.7 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.3544, allocations: 35.91 kB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.3545, allocations: 55.66 kB / 435.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.3549, allocations: 204.9 kB / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3549, allocations: 0 / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3549, allocations: 0 / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3549, allocations: 0 / 435.4 MB, free: 3.996 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.0007407/0.3556, allocations: 389.3 kB / 435.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3556, allocations: 8.031 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/0.356, allocations: 40.81 kB / 435.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3561, allocations: 138.4 kB / 435.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.3562, allocations: 8.359 kB / 435.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.3562, allocations: 12.31 kB / 436 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.3565, allocations: 115.5 kB / 436.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3565, allocations: 0 / 436.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3565, allocations: 0 / 436.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3565, allocations: 0 / 436.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3567, allocations: 59.95 kB / 436.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.3574, allocations: 348.5 kB / 436.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.3577, allocations: 121.2 kB / 436.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3579, allocations: 49.64 kB / 436.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.3579, allocations: 0 / 436.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.3582, allocations: 145 kB / 436.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.3582, allocations: 0 / 436.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005798/0.3588, allocations: 241.6 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.3589, allocations: 93.09 kB / 437.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.3591, allocations: 178.2 kB / 437.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.3591, allocations: 41.7 kB / 437.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.3592, allocations: 112.5 kB / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.3592, allocations: 43.69 kB / 437.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.84e-05/0.3593, allocations: 53.92 kB / 437.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3595, allocations: 330.8 kB / 437.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3597, allocations: 104.4 kB / 438 MB, free: 1.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3599, allocations: 132.4 kB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.3603, allocations: 203.5 kB / 438.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3603, allocations: 0 / 438.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005057/0.3608, allocations: 289.4 kB / 438.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3608, allocations: 8.062 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3608, allocations: 4 kB / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3608, allocations: 0 / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.361, allocations: 27.92 kB / 438.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.361, allocations: 4 kB / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3611, allocations: 27.81 kB / 438.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.3611, allocations: 8 kB / 438.6 MB, free: 500 kB / 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.0001781/0.3613, allocations: 157.8 kB / 438.8 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.3613, allocations: 11.91 kB / 438.8 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.3614, allocations: 13.41 kB / 438.8 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3614, allocations: 4 kB / 438.8 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3614, allocations: 3.938 kB / 438.8 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3614, allocations: 7.922 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.3616, allocations: 176.6 kB / 439 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3616, allocations: 4 kB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.3616, allocations: 4 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3616, allocations: 0 / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.3616, allocations: 19.98 kB / 439 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3616, allocations: 3.938 kB / 439 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3616, allocations: 0 / 439 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.3622, allocations: 220.6 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.3622, allocations: 15.84 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.3623, allocations: 8 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.3623, allocations: 15.98 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.3624, allocations: 7.984 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3624, allocations: 4 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.3625, allocations: 140.2 kB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3625, allocations: 0 / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.3628, allocations: 43.94 kB / 439.5 MB, free: 15.57 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.0004975/0.3633, allocations: 200.4 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.3637, allocations: 174.8 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3637, allocations: 8.125 kB / 439.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3638, allocations: 51.91 kB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.364, allocations: 8 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.3645, allocations: 247.9 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/0.3652, allocations: 0.708 MB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.052e-05/0.3653, allocations: 16.97 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.3653, allocations: 19.42 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3653, allocations: 3.938 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Templates: time 0.006463/0.3718, allocations: 2.052 MB / 443 MB, free: 12.06 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.850685551762581]