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.001782/0.001782, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001721/0.001721, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.001504/0.001504, allocations: 47.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3027, allocations: 53.36 MB / 432.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002976/0.3057, allocations: 1.57 MB / 434 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.3083, allocations: 1.508 MB / 435.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.3084, allocations: 4 kB / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3085, allocations: 11.81 kB / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3086, allocations: 27.8 kB / 435.5 MB, free: 3.777 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.001123/0.3097, allocations: 398.8 kB / 435.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3099, allocations: 135.5 kB / 436 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.31, allocations: 5.688 kB / 436 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.643e-05/0.31, allocations: 63.77 kB / 436.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006803/0.3107, allocations: 88.7 kB / 436.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.3107, allocations: 12 kB / 436.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007687/0.3115, allocations: 471.1 kB / 436.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.3116, allocations: 39.89 kB / 436.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.3117, allocations: 59.61 kB / 436.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.3123, allocations: 415.9 kB / 437.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3123, allocations: 0 / 437.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3123, allocations: 0 / 437.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.3123, allocations: 0 / 437.2 MB, free: 2.129 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.0008101/0.3131, allocations: 456.7 kB / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3131, allocations: 8.031 kB / 437.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.3134, allocations: 32.83 kB / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3136, allocations: 151.9 kB / 437.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.3136, allocations: 8.375 kB / 437.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.3136, allocations: 12.12 kB / 437.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.3139, allocations: 132.1 kB / 437.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.3139, allocations: 0 / 437.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3139, allocations: 0 / 437.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3139, allocations: 4 kB / 437.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.3141, allocations: 63.89 kB / 438 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.3149, allocations: 0.5156 MB / 438.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.3153, allocations: 147.7 kB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.3154, allocations: 62.61 kB / 438.7 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3154, allocations: 7.875 kB / 438.7 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.3157, allocations: 149.9 kB / 438.9 MB, free: 228 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.3157, allocations: 0 / 438.9 MB, free: 228 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005989/0.3163, allocations: 253.5 kB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.351e-05/0.3164, allocations: 114.9 kB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3166, allocations: 203.2 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3166, allocations: 45.69 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.3167, allocations: 108.6 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.3168, allocations: 47.67 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.3169, allocations: 49.7 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.317, allocations: 338.8 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.3172, allocations: 99.94 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.3175, allocations: 136.1 kB / 440.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.3178, allocations: 220.2 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3178, allocations: 7.938 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005368/0.3184, allocations: 309.3 kB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3184, allocations: 4 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3184, allocations: 4 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3184, allocations: 0 / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.3186, allocations: 28.08 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3186, allocations: 4.406 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.335e-05/0.3187, allocations: 39.8 kB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.3187, allocations: 15.98 kB / 440.9 MB, free: 14.14 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.0001506/0.3188, allocations: 137.8 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.3189, allocations: 15.91 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.3189, allocations: 21.39 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3189, allocations: 0 / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3189, allocations: 7.938 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3189, allocations: 7.938 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3192, allocations: 184.6 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3192, allocations: 0 / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.3192, allocations: 11.98 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3192, allocations: 4 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3192, allocations: 4 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3192, allocations: 0 / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3192, allocations: 8 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.3197, allocations: 253.4 kB / 441.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.3197, allocations: 19.89 kB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.3197, allocations: 8 kB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.3198, allocations: 7.984 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.3199, allocations: 19.92 kB / 441.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3199, allocations: 4 kB / 441.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.32, allocations: 149.1 kB / 441.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.32, allocations: 0 / 441.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000461/0.3205, allocations: 123.6 kB / 441.8 MB, free: 13.1 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.0008028/0.3213, allocations: 330.6 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004494/0.3217, allocations: 187.7 kB / 442.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3217, allocations: 4.188 kB / 442.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.3219, allocations: 59.91 kB / 442.4 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.0001758/0.322, allocations: 10.97 kB / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.3226, allocations: 314.5 kB / 442.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.323, allocations: 0.7202 MB / 443.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.323, allocations: 15.44 kB / 443.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.323, allocations: 3.938 kB / 443.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Templates: time 0.006814/0.3299, allocations: 3.943 MB / 447.4 MB, free: 7.492 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/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: 8.027171828085557]