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.001403/0.001403, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001826/0.001826, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.594 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 5.39e-06/5.39e-06, allocations: 7.938 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.628e-05/6.166e-05, allocations: 9.406 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002666/0.002728, allocations: 1.523 MB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003773, allocations: 0.584 MB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.003833, allocations: 4 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.003948, allocations: 11.88 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.515e-05/0.004023, allocations: 15.8 kB / 275.1 MB, free: 15.3 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.0006658/0.004689, allocations: 159.4 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.004844, allocations: 115.6 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.004893, allocations: 5.312 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.956e-05/0.004973, allocations: 67.86 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.0055, allocations: 72.88 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.005547, allocations: 12 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.005815, allocations: 143.7 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.005874, allocations: 35.89 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.005932, allocations: 39.84 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.006289, allocations: 179.5 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.006295, allocations: 0 / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.006296, allocations: 0 / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.006304, allocations: 3.938 kB / 275.9 MB, free: 14.5 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.0006185/0.006923, allocations: 479.7 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.006964, allocations: 15.98 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.007208, allocations: 48.73 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.00735, allocations: 153.2 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.007372, allocations: 8.375 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.007392, allocations: 4.375 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.007559, allocations: 93.52 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.007571, allocations: 192 / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.007582, allocations: 384 / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.007592, allocations: 8.312 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.007642, allocations: 19.92 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.008147, allocations: 347.3 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.008273, allocations: 94.09 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.008312, allocations: 27.44 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.008322, allocations: 4 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.008472, allocations: 112.3 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.113e-06/0.008473, allocations: 0 / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002743/0.008747, allocations: 162 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.008817, allocations: 89.09 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.008959, allocations: 229.8 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.008985, allocations: 49.69 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.009061, allocations: 147.4 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.009098, allocations: 47.69 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.009165, allocations: 67.56 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.009289, allocations: 0.4962 MB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.009354, allocations: 40.42 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.009431, allocations: 84.56 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.009549, allocations: 107.5 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009551, allocations: 0 / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002058/0.009757, allocations: 193.4 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.009772, allocations: 8 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.00978, allocations: 7.938 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.009799, allocations: 0 / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.009934, allocations: 43.97 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.009941, allocations: 4 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.009989, allocations: 19.84 kB / 279 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.01, allocations: 11.98 kB / 279 MB, free: 11.05 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,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.0001412/0.01015, allocations: 192.6 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.01017, allocations: 19.84 kB / 279.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.01019, allocations: 17.45 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01019, allocations: 0 / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.0102, allocations: 0 / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.0102, allocations: 0 / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.01033, allocations: 152.5 kB / 279.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01033, allocations: 3.984 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.01035, allocations: 7.938 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.01036, allocations: 4 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01037, allocations: 7.938 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01037, allocations: 0 / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01037, allocations: 0 / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.01055, allocations: 176 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.01057, allocations: 15.84 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.0106, allocations: 19.92 kB / 279.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.184e-05/0.01062, allocations: 4 kB / 279.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.01068, allocations: 7.984 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.01069, allocations: 0 / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.463e-05/0.01077, allocations: 163.1 kB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01077, allocations: 7.875 kB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.01102, allocations: 51.94 kB / 279.9 MB, free: 10.14 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.0006576/0.01168, allocations: 220 kB / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.01191, allocations: 99.58 kB / 280.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01191, allocations: 0 / 280.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.01197, allocations: 39.61 kB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01217, allocations: 15.98 kB / 280.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.01262, allocations: 245.8 kB / 280.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.01266, allocations: 67.34 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.01272, allocations: 25.16 kB / 280.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.01276, allocations: 16.48 kB / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01276, allocations: 0 / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of Templates: time 0.007109/0.01987, allocations: 2.217 MB / 282.8 MB, free: 7.176 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.9398049442097545]