Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.001079/0.001079, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001126/0.001126, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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.035/1.035, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.926e-05, allocations: 10.31 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003348/0.003377, allocations: 1.564 MB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.006124, allocations: 1.425 MB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.00622, allocations: 0 / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.006336, allocations: 7.875 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.006458, allocations: 27.73 kB / 276.4 MB, free: 14.17 MB / 266.7 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.001351/0.007809, allocations: 406.5 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.008013, allocations: 139.5 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.00806, allocations: 5.688 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.00819, allocations: 79.8 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.008721, allocations: 81.59 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.008763, allocations: 12 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007829/0.009546, allocations: 439 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.009607, allocations: 39.83 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.009662, allocations: 43.78 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.0103, allocations: 430.7 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.0103, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0103, allocations: 7.938 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.01031, allocations: 0 / 278 MB, free: 12.53 MB / 266.7 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.0005492/0.01086, allocations: 0.5381 MB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.01089, allocations: 15.98 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.01105, allocations: 36.81 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.01117, allocations: 166.4 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.01118, allocations: 384 / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.0112, allocations: 16.36 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.01134, allocations: 101.2 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.01135, allocations: 192 / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.01136, allocations: 384 / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.01136, allocations: 3.938 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.0114, allocations: 19.92 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.01184, allocations: 0.5763 MB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.01196, allocations: 113.3 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.01199, allocations: 39.06 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.01201, allocations: 3.938 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.01214, allocations: 135.9 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.01214, allocations: 0 / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002234/0.01236, allocations: 157.4 kB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.01241, allocations: 114.8 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.01254, allocations: 242.6 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.01256, allocations: 41.69 kB / 280.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.01263, allocations: 167.3 kB / 280.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.01266, allocations: 43.67 kB / 280.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.01273, allocations: 75.42 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01285, allocations: 0.5001 MB / 281.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.0129, allocations: 27.97 kB / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.01297, allocations: 87.22 kB / 281.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.01307, allocations: 107.2 kB / 281.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01308, allocations: 0 / 281.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001807/0.01326, allocations: 185.5 kB / 281.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.01327, allocations: 8 kB / 281.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01328, allocations: 3.984 kB / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01329, allocations: 7.984 kB / 281.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.0134, allocations: 39.92 kB / 281.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.0134, allocations: 4.469 kB / 281.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.01345, allocations: 27.77 kB / 281.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01346, allocations: 7.984 kB / 281.6 MB, free: 8.637 MB / 266.7 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,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,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 9.974e-05/0.01356, allocations: 188.5 kB / 281.8 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.01358, allocations: 19.84 kB / 281.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.01361, allocations: 21.45 kB / 281.8 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01361, allocations: 0 / 281.8 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.01361, allocations: 4 kB / 281.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01362, allocations: 0 / 281.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.01372, allocations: 125.2 kB / 281.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01372, allocations: 4 kB / 281.9 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.01375, allocations: 11.98 kB / 281.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01375, allocations: 8 kB / 281.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.01376, allocations: 3.938 kB / 282 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01376, allocations: 8 kB / 282 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01376, allocations: 3.938 kB / 282 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.01394, allocations: 198.7 kB / 282.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.01396, allocations: 15.84 kB / 282.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.01398, allocations: 15.92 kB / 282.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.078e-05/0.01401, allocations: 8 kB / 282.2 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.01405, allocations: 11.97 kB / 282.2 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.01406, allocations: 4 kB / 282.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.343e-05/0.01412, allocations: 173 kB / 282.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01412, allocations: 0 / 282.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.0144, allocations: 127.6 kB / 282.5 MB, free: 7.641 MB / 266.7 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.0005458/0.01494, allocations: 353 kB / 282.9 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.0151, allocations: 96.45 kB / 282.9 MB, free: 7.211 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0151, allocations: 3.938 kB / 283 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.01515, allocations: 39.66 kB / 283 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.0153, allocations: 19.42 kB / 283 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.01561, allocations: 280.1 kB / 283.3 MB, free: 6.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.01565, allocations: 71.83 kB / 283.4 MB, free: 6.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.0157, allocations: 21.47 kB / 283.4 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.01576, allocations: 82.2 kB / 283.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01576, allocations: 0 / 283.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of Templates: time 0.005895/0.02166, allocations: 4.24 MB / 287.7 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9371779020875692]