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.002052/0.002052, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002809/0.002809, allocations: 203.6 kB / 23.73 MB, free: 4.379 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 1.802/1.802, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001893/0.001893, allocations: 48.06 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3087, allocations: 53.37 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002912/0.3116, allocations: 1.481 MB / 433.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3129, allocations: 0.573 MB / 433.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.3129, allocations: 4 kB / 433.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.313, allocations: 7.875 kB / 433.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.78e-05/0.3131, allocations: 19.78 kB / 433.7 MB, free: 4.594 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.0006535/0.3138, allocations: 147.6 kB / 433.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.3139, allocations: 115.7 kB / 433.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.314, allocations: 9.109 kB / 433.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.3141, allocations: 59.7 kB / 434 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.3147, allocations: 75.89 kB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.3147, allocations: 12 kB / 434.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.315, allocations: 151.7 kB / 434.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3151, allocations: 27.92 kB / 434.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.3152, allocations: 47.72 kB / 434.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.3155, allocations: 189.8 kB / 434.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3156, allocations: 0 / 434.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3156, allocations: 4 kB / 434.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3156, allocations: 0 / 434.5 MB, free: 3.785 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.0006844/0.3162, allocations: 385.4 kB / 434.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3163, allocations: 8.031 kB / 434.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.3166, allocations: 44.81 kB / 434.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3168, allocations: 142.3 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.3168, allocations: 12.31 kB / 435.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3168, allocations: 4.375 kB / 435.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.3171, allocations: 119.5 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.3171, allocations: 0 / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3171, allocations: 0 / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3171, allocations: 4 kB / 435.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.3173, allocations: 59.89 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006396/0.3179, allocations: 301.2 kB / 435.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.3182, allocations: 125 kB / 435.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3184, allocations: 53.75 kB / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.3184, allocations: 0 / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.3186, allocations: 137 kB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.3186, allocations: 0 / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005655/0.3192, allocations: 245.4 kB / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.3193, allocations: 89.17 kB / 436.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3195, allocations: 174.2 kB / 436.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/0.3195, allocations: 49.69 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.3196, allocations: 104.6 kB / 436.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.3197, allocations: 43.69 kB / 436.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.3198, allocations: 53.92 kB / 436.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3199, allocations: 334.8 kB / 436.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.3202, allocations: 88.47 kB / 437 MB, free: 1.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3204, allocations: 132.4 kB / 437.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.3208, allocations: 215.3 kB / 437.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3208, allocations: 0 / 437.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005246/0.3213, allocations: 289.4 kB / 437.6 MB, free: 420 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3213, allocations: 4 kB / 437.6 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3213, allocations: 0 / 437.6 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3213, allocations: 8.062 kB / 437.6 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.3215, allocations: 35.91 kB / 437.7 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3215, allocations: 0 / 437.7 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.3216, allocations: 27.78 kB / 437.7 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.3216, allocations: 4 kB / 437.7 MB, free: 340 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.0001754/0.3218, allocations: 157.8 kB / 437.9 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3218, allocations: 11.91 kB / 437.9 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.3219, allocations: 21.39 kB / 437.9 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3219, allocations: 0 / 437.9 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3219, allocations: 4 kB / 437.9 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3219, allocations: 4 kB / 437.9 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.3221, allocations: 145.1 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3221, allocations: 4 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.3221, allocations: 4 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3221, allocations: 3.938 kB / 438.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3221, allocations: 4 kB / 438.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3221, allocations: 3.984 kB / 438.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3222, allocations: 0 / 438.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.3225, allocations: 221.7 kB / 438.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.3226, allocations: 23.83 kB / 438.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.3226, allocations: 8 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.3227, allocations: 7.984 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.3227, allocations: 11.98 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3227, allocations: 4 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3229, allocations: 132.2 kB / 438.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3229, allocations: 0 / 438.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.3232, allocations: 47.92 kB / 438.5 MB, free: 15.46 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.0005169/0.3237, allocations: 215.1 kB / 438.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004278/0.3241, allocations: 175.9 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3241, allocations: 0 / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3242, allocations: 55.91 kB / 438.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.3244, allocations: 11.94 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.3249, allocations: 239.9 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.325, allocations: 101.9 kB / 439.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.3251, allocations: 16.97 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.3251, allocations: 11.44 kB / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3251, allocations: 3.938 kB / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of Templates: time 0.005738/0.3309, allocations: 2.123 MB / 441.4 MB, free: 12.52 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 -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/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_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.321967499796301]