Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.NormalNoiseProperties,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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001738, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001996/0.001996, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.552/1.552, allocations: 230.4 MB / 251.1 MB, free: 8.504 MB / 206.1 MB 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.001962/0.001962, allocations: 67.83 kB / 369 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 53.31 MB / 422.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003563/0.3178, allocations: 1.89 MB / 424.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.3203, allocations: 1.317 MB / 425.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3204, allocations: 4 kB / 425.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.3205, allocations: 19.73 kB / 425.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3207, allocations: 27.73 kB / 425.5 MB, free: 4.598 MB / 334.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.000896/0.3216, allocations: 315.1 kB / 425.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.3218, allocations: 223.4 kB / 426.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.322, allocations: 48.27 kB / 426.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3221, allocations: 99.61 kB / 426.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000651/0.3228, allocations: 118.3 kB / 426.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.3228, allocations: 27.94 kB / 426.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.3233, allocations: 291.5 kB / 426.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.3234, allocations: 59.77 kB / 426.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3235, allocations: 103.4 kB / 426.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.3241, allocations: 394 kB / 427.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3241, allocations: 0 / 427.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3241, allocations: 0 / 427.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3241, allocations: 0 / 427.2 MB, free: 2.957 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.001292/0.3254, allocations: 0.5889 MB / 427.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3254, allocations: 8.031 kB / 427.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.3257, allocations: 36.78 kB / 427.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.326, allocations: 244.9 kB / 428 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.326, allocations: 12.66 kB / 428.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.3261, allocations: 24.12 kB / 428.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.3266, allocations: 194.9 kB / 428.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3266, allocations: 4 kB / 428.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.3266, allocations: 4 kB / 428.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3267, allocations: 4 kB / 428.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.3271, allocations: 156.4 kB / 428.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.3283, allocations: 0.575 MB / 429 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3293, allocations: 290.7 kB / 429.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.3296, allocations: 108.8 kB / 429.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3297, allocations: 11.91 kB / 429.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/0.3301, allocations: 168.3 kB / 429.6 MB, free: 396 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.3301, allocations: 4 kB / 429.6 MB, free: 392 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001084/0.3312, allocations: 356.3 kB / 429.9 MB, free: 32 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.3312, allocations: 55.41 kB / 430 MB, free: 15.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.3315, allocations: 226.7 kB / 430.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.3315, allocations: 33.7 kB / 430.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.3317, allocations: 128.6 kB / 430.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/0.3318, allocations: 75.42 kB / 430.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3319, allocations: 73.62 kB / 430.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3321, allocations: 338.8 kB / 430.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.3325, allocations: 131.9 kB / 431 MB, free: 14.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.3329, allocations: 161.7 kB / 431.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.3335, allocations: 267.2 kB / 431.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3335, allocations: 0 / 431.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008834/0.3344, allocations: 383.8 kB / 431.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3344, allocations: 4 kB / 431.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3345, allocations: 4 kB / 431.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3345, allocations: 0 / 431.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.3348, allocations: 75.81 kB / 431.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3348, allocations: 8.031 kB / 431.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.335, allocations: 43.75 kB / 431.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.335, allocations: 12 kB / 431.9 MB, free: 13.98 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.0001795/0.3352, allocations: 146.2 kB / 432 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.3352, allocations: 19.86 kB / 432.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.3353, allocations: 29.81 kB / 432.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3353, allocations: 4 kB / 432.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3353, allocations: 0 / 432.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3353, allocations: 3.984 kB / 432.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.3365, allocations: 0.619 MB / 432.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3365, allocations: 0 / 432.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.3367, allocations: 43.95 kB / 432.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3367, allocations: 4 kB / 432.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.3367, allocations: 3.984 kB / 432.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3367, allocations: 0 / 432.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3367, allocations: 4 kB / 432.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3378, allocations: 483 kB / 433.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.3379, allocations: 101 kB / 433.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.3379, allocations: 15.98 kB / 433.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.3381, allocations: 23.97 kB / 433.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.3382, allocations: 7.984 kB / 433.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3382, allocations: 4 kB / 433.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.3384, allocations: 160.7 kB / 433.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3384, allocations: 0 / 433.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.3388, allocations: 103.7 kB / 433.7 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.0006632/0.3395, allocations: 269.2 kB / 433.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007529/0.3402, allocations: 263.7 kB / 434.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3402, allocations: 0 / 434.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.3406, allocations: 111.9 kB / 434.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.3409, allocations: 39.44 kB / 434.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.3419, allocations: 465.7 kB / 434.8 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.3423, allocations: 0.7398 MB / 435.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.3424, allocations: 29.94 kB / 435.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.3425, allocations: 23.42 kB / 435.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3425, allocations: 4 kB / 435.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Templates: time 0.008364/0.3509, allocations: 3.653 MB / 439.2 MB, free: 6.543 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches