Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.095/2.095, allocations: 230.6 MB / 258.2 MB, free: 7.812 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 47.92 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3437, allocations: 53.36 MB / 432.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.005598/0.3493, allocations: 1.484 MB / 433.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3508, allocations: 0.573 MB / 434.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.3508, allocations: 0 / 434.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.861e-05/0.3509, allocations: 11.81 kB / 434.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.351, allocations: 15.86 kB / 434.4 MB, free: 4.695 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.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.0006673/0.3517, allocations: 155.5 kB / 434.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.3519, allocations: 111.7 kB / 434.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.3519, allocations: 5.312 kB / 434.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.352, allocations: 55.77 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006626/0.3527, allocations: 72.81 kB / 434.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.3527, allocations: 12 kB / 434.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.3531, allocations: 147.7 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.3531, allocations: 31.91 kB / 435 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.363e-05/0.3532, allocations: 51.72 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.3537, allocations: 196.9 kB / 435.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3537, allocations: 0 / 435.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3537, allocations: 0 / 435.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3537, allocations: 3.984 kB / 435.2 MB, free: 3.879 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.0007348/0.3544, allocations: 385.4 kB / 435.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3544, allocations: 12.02 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.3548, allocations: 36.83 kB / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.355, allocations: 146.3 kB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.355, allocations: 8.375 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3551, allocations: 8.312 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.3553, allocations: 115.5 kB / 435.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3553, allocations: 0 / 435.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3554, allocations: 4 kB / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3554, allocations: 4 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.3556, allocations: 51.95 kB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.3563, allocations: 301.2 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.3567, allocations: 117.1 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.3569, allocations: 57.84 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.3569, allocations: 0 / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.3572, allocations: 144 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.3572, allocations: 4 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000652/0.3578, allocations: 245.9 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.3579, allocations: 93.09 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3581, allocations: 174.2 kB / 437.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.3582, allocations: 45.69 kB / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.3583, allocations: 104.6 kB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.3583, allocations: 43.69 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3584, allocations: 53.92 kB / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3586, allocations: 338.8 kB / 437.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.3589, allocations: 96.41 kB / 437.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.3591, allocations: 128.4 kB / 437.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.3596, allocations: 207.4 kB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3596, allocations: 0 / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006577/0.3603, allocations: 301.3 kB / 438.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3603, allocations: 4 kB / 438.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3603, allocations: 3.984 kB / 438.4 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3603, allocations: 7.984 kB / 438.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3605, allocations: 27.92 kB / 438.4 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3605, allocations: 0 / 438.4 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3606, allocations: 23.84 kB / 438.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.3606, allocations: 4 kB / 438.5 MB, free: 436 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.0001821/0.3608, allocations: 161.7 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.3608, allocations: 11.91 kB / 438.6 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.3609, allocations: 17.39 kB / 438.6 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3609, allocations: 4 kB / 438.6 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3609, allocations: 4 kB / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3609, allocations: 0 / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3611, allocations: 141.2 kB / 438.8 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3611, allocations: 4 kB / 438.8 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.3612, allocations: 7.938 kB / 438.8 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3612, allocations: 4 kB / 438.8 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3612, allocations: 7.984 kB / 438.8 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.3612, allocations: 3.938 kB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3612, allocations: 0 / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.3617, allocations: 225.8 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.3617, allocations: 15.84 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.3618, allocations: 8 kB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.3618, allocations: 11.98 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.3619, allocations: 7.984 kB / 439.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3619, allocations: 8 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.3621, allocations: 136.2 kB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3621, allocations: 0 / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000397/0.3624, allocations: 43.94 kB / 439.3 MB, free: 15.55 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.0005569/0.363, allocations: 209.4 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005233/0.3635, allocations: 171.9 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3635, allocations: 0 / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.3637, allocations: 59.89 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.3639, allocations: 11.94 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.3645, allocations: 252 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.3646, allocations: 93.78 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.635e-05/0.3647, allocations: 21.03 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.3648, allocations: 15.42 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3648, allocations: 0 / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Templates: time 0.006974/0.3717, allocations: 2.125 MB / 442.2 MB, free: 12.61 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.3744670119922375]