Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001535/0.001535, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00183/0.00183, allocations: 212.1 kB / 23.73 MB, free: 4.164 MB / 14.72 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.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003247/0.003247, allocations: 59.91 kB / 378.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2999, allocations: 53.4 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003499/0.3034, allocations: 1.809 MB / 433.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3055, allocations: 0.9932 MB / 434.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3056, allocations: 4 kB / 434.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.3058, allocations: 19.73 kB / 434.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.306, allocations: 35.66 kB / 434.5 MB, free: 3.637 MB / 334.1 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.0006399/0.3066, allocations: 187.5 kB / 434.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.307, allocations: 223.4 kB / 434.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.3071, allocations: 56.34 kB / 435 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.3072, allocations: 95.62 kB / 435.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005725/0.3078, allocations: 114.9 kB / 435.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.3079, allocations: 20 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.3082, allocations: 159.7 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.3082, allocations: 55.78 kB / 435.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.686e-05/0.3083, allocations: 83.56 kB / 435.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.3088, allocations: 297.2 kB / 435.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3088, allocations: 0 / 435.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3088, allocations: 7.938 kB / 435.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3088, allocations: 4 kB / 435.8 MB, free: 2.367 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001236/0.31, allocations: 494.2 kB / 436.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3101, allocations: 8.031 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.3103, allocations: 40.73 kB / 436.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3106, allocations: 186.1 kB / 436.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.3107, allocations: 16.66 kB / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.3107, allocations: 20.38 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.3112, allocations: 200.4 kB / 436.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3112, allocations: 0 / 436.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.3113, allocations: 8 kB / 436.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.3113, allocations: 0 / 436.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.3118, allocations: 164.4 kB / 436.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.3128, allocations: 464.7 kB / 437.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3139, allocations: 294.7 kB / 437.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.3142, allocations: 112.8 kB / 437.7 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.3142, allocations: 4 kB / 437.7 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/0.3147, allocations: 166.8 kB / 437.9 MB, free: 128 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.3147, allocations: 0 / 437.9 MB, free: 128 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001073/0.3157, allocations: 355.9 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.3158, allocations: 63.39 kB / 438.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.316, allocations: 207.1 kB / 438.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.3161, allocations: 37.7 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3162, allocations: 132.6 kB / 438.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.3163, allocations: 75.38 kB / 438.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3164, allocations: 65.69 kB / 438.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3165, allocations: 330.8 kB / 439.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.3169, allocations: 139.7 kB / 439.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.3173, allocations: 165.4 kB / 439.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.3179, allocations: 271.2 kB / 439.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3179, allocations: 0 / 439.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008771/0.3188, allocations: 383.8 kB / 440.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3188, allocations: 4 kB / 440.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3188, allocations: 0 / 440.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3189, allocations: 8.031 kB / 440.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.3192, allocations: 67.89 kB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3192, allocations: 4 kB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3194, allocations: 43.75 kB / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.3194, allocations: 8 kB / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.000159/0.3195, allocations: 153.6 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.3196, allocations: 19.84 kB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.3197, allocations: 25.95 kB / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3197, allocations: 0 / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3197, allocations: 0 / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3197, allocations: 0 / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.3208, allocations: 0.5407 MB / 441 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3208, allocations: 0 / 441 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.321, allocations: 47.95 kB / 441 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.321, allocations: 7.875 kB / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.3211, allocations: 4 kB / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3211, allocations: 4 kB / 441 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3211, allocations: 0 / 441 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3222, allocations: 478.5 kB / 441.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.3222, allocations: 15.91 kB / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.3223, allocations: 16.05 kB / 441.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3225, allocations: 15.98 kB / 441.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.3225, allocations: 15.97 kB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.3225, allocations: 7.938 kB / 441.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3227, allocations: 148.3 kB / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3227, allocations: 0 / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003909/0.3231, allocations: 75.75 kB / 441.8 MB, free: 12.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005078/0.3236, allocations: 198.8 kB / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000792/0.3244, allocations: 263.8 kB / 442.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3244, allocations: 0 / 442.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.3247, allocations: 103.9 kB / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.325, allocations: 31.98 kB / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.3261, allocations: 465.2 kB / 442.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.3263, allocations: 141.1 kB / 443 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.3264, allocations: 25.64 kB / 443 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.3265, allocations: 23.42 kB / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3265, allocations: 0 / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Templates: time 0.008199/0.3347, allocations: 3.087 MB / 446.1 MB, free: 7.824 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.863165123388171]