Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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.001319/0.001319, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001673/0.001673, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 47.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3106, allocations: 53.36 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003432/0.314, allocations: 1.547 MB / 433.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.317, allocations: 1.52 MB / 434.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.3171, allocations: 0 / 434.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.3172, allocations: 15.8 kB / 434.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.3173, allocations: 23.8 kB / 434.7 MB, free: 3.785 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.001202/0.3185, allocations: 402.8 kB / 435.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3187, allocations: 131.5 kB / 435.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.536e-05/0.3188, allocations: 9.672 kB / 435.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3189, allocations: 63.7 kB / 435.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006969/0.3196, allocations: 89.94 kB / 435.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.3196, allocations: 12 kB / 435.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000823/0.3204, allocations: 467.1 kB / 435.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.3205, allocations: 47.78 kB / 435.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.507e-05/0.3206, allocations: 67.53 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.3214, allocations: 408 kB / 436.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3214, allocations: 0 / 436.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3214, allocations: 0 / 436.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3214, allocations: 0 / 436.4 MB, free: 2.133 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.0009646/0.3223, allocations: 456.8 kB / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3224, allocations: 12.03 kB / 436.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.3226, allocations: 32.81 kB / 436.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.3228, allocations: 151.9 kB / 437 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.3229, allocations: 16.31 kB / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3229, allocations: 8.125 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.3232, allocations: 128.2 kB / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3232, allocations: 4 kB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3232, allocations: 0 / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3232, allocations: 0 / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.3234, allocations: 63.89 kB / 437.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.3243, allocations: 0.5156 MB / 437.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.3246, allocations: 147.9 kB / 437.9 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3248, allocations: 58.55 kB / 438 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3248, allocations: 11.98 kB / 438 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.3251, allocations: 149.8 kB / 438.1 MB, free: 228 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.3251, allocations: 0 / 438.1 MB, free: 228 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006572/0.3258, allocations: 241.9 kB / 438.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.3259, allocations: 126.7 kB / 438.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.3261, allocations: 195.2 kB / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.3262, allocations: 53.81 kB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3263, allocations: 104.6 kB / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.3264, allocations: 43.69 kB / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3265, allocations: 61.67 kB / 438.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.3267, allocations: 334.8 kB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.3269, allocations: 95.95 kB / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.3272, allocations: 148 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.3277, allocations: 216.3 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3277, allocations: 0 / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005953/0.3283, allocations: 305.3 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3283, allocations: 8 kB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3283, allocations: 0 / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.3283, allocations: 11.92 kB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3285, allocations: 27.92 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3285, allocations: 4 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.3286, allocations: 27.78 kB / 440.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.3286, allocations: 12.06 kB / 440.1 MB, free: 14.16 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.0001798/0.3288, allocations: 157.8 kB / 440.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.3288, allocations: 15.84 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.3289, allocations: 13.41 kB / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3289, allocations: 4 kB / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3289, allocations: 0 / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3289, allocations: 3.938 kB / 440.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.3291, allocations: 188.6 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3291, allocations: 8 kB / 440.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.3292, allocations: 11.98 kB / 440.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3292, allocations: 0 / 440.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3292, allocations: 4 kB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3292, allocations: 3.984 kB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3292, allocations: 4 kB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.3297, allocations: 250.4 kB / 440.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3298, allocations: 15.91 kB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3298, allocations: 11.98 kB / 440.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.3299, allocations: 8 kB / 440.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.3299, allocations: 19.91 kB / 440.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.33, allocations: 4 kB / 440.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.3301, allocations: 141.2 kB / 440.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3301, allocations: 4 kB / 440.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004916/0.3306, allocations: 119.6 kB / 441.1 MB, free: 13.11 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.0009045/0.3315, allocations: 332.5 kB / 441.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005054/0.332, allocations: 187.8 kB / 441.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.332, allocations: 0 / 441.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3322, allocations: 68.14 kB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.3324, allocations: 8 kB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.3331, allocations: 276.9 kB / 441.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.3335, allocations: 0.7162 MB / 442.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.3336, allocations: 37.33 kB / 442.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.3336, allocations: 15.44 kB / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3336, allocations: 0 / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Templates: time 0.009833/0.3434, allocations: 3.634 MB / 446.3 MB, free: 7.832 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_Modelica.Blocks.Examples.Noise.Distributions.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: 4.830448329914361]