Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 215.1 kB / 19.8 MB, free: 2.559 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.564/1.564, allocations: 230.4 MB / 251.1 MB, free: 8.434 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.002085/0.002085, allocations: 71.83 kB / 369 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.313, allocations: 53.3 MB / 422.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003105/0.3161, allocations: 1.557 MB / 423.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.3192, allocations: 1.496 MB / 425.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.397e-05/0.3192, allocations: 0 / 425.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.3194, allocations: 7.875 kB / 425.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.3195, allocations: 31.72 kB / 425.4 MB, free: 4.723 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.001284/0.3208, allocations: 390.8 kB / 425.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.321, allocations: 131.5 kB / 425.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.221e-05/0.3211, allocations: 13.48 kB / 425.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.3211, allocations: 63.7 kB / 425.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.3219, allocations: 77.64 kB / 426 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.3219, allocations: 12 kB / 426 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00078/0.3227, allocations: 431.1 kB / 426.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.3228, allocations: 43.83 kB / 426.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.905e-05/0.3228, allocations: 59.61 kB / 426.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007569/0.3236, allocations: 406.1 kB / 426.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3236, allocations: 0 / 426.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3236, allocations: 0 / 426.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3236, allocations: 4 kB / 427 MB, free: 3.125 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009662/0.3246, allocations: 0.5203 MB / 427.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3246, allocations: 8.031 kB / 427.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.3249, allocations: 32.83 kB / 427.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.3251, allocations: 208.9 kB / 427.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.3251, allocations: 12.38 kB / 427.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3252, allocations: 12.12 kB / 427.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.3255, allocations: 132.1 kB / 427.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3255, allocations: 0 / 427.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3255, allocations: 3.984 kB / 427.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3255, allocations: 0 / 427.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.3257, allocations: 63.95 kB / 427.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.3265, allocations: 0.5477 MB / 428.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.3269, allocations: 143.7 kB / 428.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.327, allocations: 62.61 kB / 428.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.327, allocations: 0 / 428.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.3273, allocations: 153.8 kB / 428.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.3273, allocations: 0 / 428.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006188/0.328, allocations: 249.6 kB / 429.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.3281, allocations: 130.9 kB / 429.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.3283, allocations: 191.9 kB / 429.4 MB, free: 436 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.3284, allocations: 49.69 kB / 429.4 MB, free: 380 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.3285, allocations: 104.6 kB / 429.5 MB, free: 272 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.3285, allocations: 47.67 kB / 429.6 MB, free: 224 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.3286, allocations: 57.69 kB / 429.6 MB, free: 160 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3288, allocations: 338.7 kB / 430 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.329, allocations: 103.9 kB / 430.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.3293, allocations: 136.2 kB / 430.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.3297, allocations: 224.2 kB / 430.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3297, allocations: 0 / 430.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005493/0.3302, allocations: 305.4 kB / 430.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3302, allocations: 4 kB / 430.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3302, allocations: 0 / 430.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3303, allocations: 4 kB / 430.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3304, allocations: 31.91 kB / 430.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.3304, allocations: 8.094 kB / 430.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.3305, allocations: 27.78 kB / 430.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3306, allocations: 8 kB / 430.8 MB, free: 14.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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.3308, allocations: 149.7 kB / 431 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.3308, allocations: 19.89 kB / 431 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.3308, allocations: 13.41 kB / 431 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3308, allocations: 4 kB / 431 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3309, allocations: 4 kB / 431 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3309, allocations: 3.938 kB / 431 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3311, allocations: 217.5 kB / 431.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3311, allocations: 0 / 431.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.3312, allocations: 19.92 kB / 431.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3312, allocations: 0 / 431.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3312, allocations: 4 kB / 431.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3312, allocations: 4 kB / 431.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3312, allocations: 3.984 kB / 431.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.3316, allocations: 246.5 kB / 431.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.68e-05/0.3317, allocations: 93.02 kB / 431.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.3317, allocations: 11.98 kB / 431.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.3318, allocations: 4 kB / 431.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.3319, allocations: 23.86 kB / 431.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3319, allocations: 7.984 kB / 431.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.332, allocations: 137.2 kB / 431.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.332, allocations: 0 / 431.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.3325, allocations: 127.6 kB / 431.9 MB, free: 13.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.000836/0.3334, allocations: 344.5 kB / 432.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004867/0.3338, allocations: 183.9 kB / 432.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3338, allocations: 4.062 kB / 432.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.334, allocations: 51.97 kB / 432.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.3342, allocations: 11.98 kB / 432.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.3348, allocations: 284.8 kB / 432.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3352, allocations: 0.7163 MB / 433.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.3353, allocations: 21.41 kB / 433.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.3353, allocations: 19.44 kB / 433.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3353, allocations: 0 / 433.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Templates: time 0.008572/0.3439, allocations: 3.595 MB / 437.1 MB, free: 8.535 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches