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.001494/0.001494, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001635/0.001635, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.42/1.42, allocations: 230.4 MB / 255.4 MB, free: 15 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.001903/0.001903, allocations: 67.89 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 53.31 MB / 428 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002776/0.1072, allocations: 1.498 MB / 429.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1083, allocations: 0.5808 MB / 430.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.1084, allocations: 0 / 430.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.675e-05/0.1085, allocations: 15.81 kB / 430.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.247e-05/0.1085, allocations: 19.86 kB / 430.2 MB, free: 2.23 MB / 350.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.0005663/0.1091, allocations: 143.5 kB / 430.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1093, allocations: 111.6 kB / 430.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.1093, allocations: 5.125 kB / 430.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.1094, allocations: 47.83 kB / 430.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000623/0.11, allocations: 77.34 kB / 430.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.11, allocations: 8 kB / 430.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.1103, allocations: 123.8 kB / 430.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.1103, allocations: 31.91 kB / 430.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.1104, allocations: 59.66 kB / 430.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.1107, allocations: 199.2 kB / 431 MB, free: 1.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1107, allocations: 0 / 431 MB, free: 1.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1107, allocations: 3.938 kB / 431 MB, free: 1.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1107, allocations: 0 / 431 MB, free: 1.438 MB / 350.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.000719/0.1115, allocations: 461.1 kB / 431.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1115, allocations: 12.03 kB / 431.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.1118, allocations: 40.81 kB / 431.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.112, allocations: 208.1 kB / 431.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.112, allocations: 4.375 kB / 431.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1121, allocations: 4.375 kB / 431.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.1123, allocations: 118.4 kB / 431.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1123, allocations: 4 kB / 431.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1123, allocations: 4 kB / 431.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1123, allocations: 4 kB / 431.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.1125, allocations: 55.95 kB / 431.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.1132, allocations: 373.5 kB / 432.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1911/0.3043, allocations: 115.4 kB / 432.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.3044, allocations: 57.42 kB / 432.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3044, allocations: 1.219 kB / 432.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.3047, allocations: 139.3 kB / 432.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.3047, allocations: 0 / 432.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005533/0.3053, allocations: 239.6 kB / 432.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.3053, allocations: 96.58 kB / 432.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3055, allocations: 171 kB / 433 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.3055, allocations: 48.33 kB / 433.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.3056, allocations: 105.5 kB / 433.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3056, allocations: 43.03 kB / 433.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.3057, allocations: 64.22 kB / 433.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.3057, allocations: 333.9 kB / 433.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.3059, allocations: 95.39 kB / 433.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.3061, allocations: 124.9 kB / 433.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.3064, allocations: 214.9 kB / 434 MB, free: 10.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3064, allocations: 1.281 kB / 434 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004385/0.3069, allocations: 290.3 kB / 434.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3069, allocations: 8.906 kB / 434.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3069, allocations: 1.469 kB / 434.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3069, allocations: 1.25 kB / 434.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.3071, allocations: 32.38 kB / 434.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3071, allocations: 1.375 kB / 434.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.3071, allocations: 23.38 kB / 434.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3072, allocations: 10.81 kB / 434.4 MB, free: 10.28 MB / 350.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 9.91e-05/0.3073, allocations: 151.4 kB / 434.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.3073, allocations: 14.06 kB / 434.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.3073, allocations: 14.72 kB / 434.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.3073, allocations: 4.062 kB / 434.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3073, allocations: 0 / 434.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3073, allocations: 2.125 kB / 434.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.3075, allocations: 206.5 kB / 434.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3075, allocations: 1.781 kB / 434.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.3075, allocations: 14.56 kB / 434.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3075, allocations: 0 / 434.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3075, allocations: 3.25 kB / 434.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3075, allocations: 4.906 kB / 434.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3075, allocations: 0 / 434.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3078, allocations: 223.6 kB / 435 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.3078, allocations: 91.83 kB / 435.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.3079, allocations: 12.94 kB / 435.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.546e-05/0.3079, allocations: 4.922 kB / 435.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.308, allocations: 18.06 kB / 435.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.308, allocations: 8.797 kB / 435.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.308, allocations: 128.3 kB / 435.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.308, allocations: 0 / 435.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3083, allocations: 55.62 kB / 435.3 MB, free: 9.695 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.0004514/0.3088, allocations: 199.1 kB / 435.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.3092, allocations: 176 kB / 435.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3092, allocations: 0 / 435.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3093, allocations: 52.72 kB / 435.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.3095, allocations: 6.219 kB / 435.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.3099, allocations: 284.8 kB / 436 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.31, allocations: 0.7081 MB / 436.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.3101, allocations: 13.69 kB / 436.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3101, allocations: 0 / 436.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Templates: time 0.004575/0.3146, allocations: 2.314 MB / 439.1 MB, free: 8.508 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.265465246979147]