Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 187.8 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 47.92 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2933, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002884/0.2961, allocations: 1.512 MB / 424.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.2986, allocations: 1.347 MB / 425.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.2987, allocations: 3.938 kB / 425.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.854e-05/0.2988, allocations: 7.875 kB / 425.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2989, allocations: 35.72 kB / 426 MB, free: 11.53 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.001097/0.3, allocations: 382.8 kB / 426.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3002, allocations: 135.5 kB / 426.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.3003, allocations: 17.47 kB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.3003, allocations: 55.72 kB / 426.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.301, allocations: 86.05 kB / 426.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.301, allocations: 12 kB / 426.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00073/0.3017, allocations: 431.1 kB / 427.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.3018, allocations: 35.89 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.3019, allocations: 43.73 kB / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.3025, allocations: 401.1 kB / 427.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3025, allocations: 0 / 427.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3025, allocations: 0 / 427.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3025, allocations: 8 kB / 427.5 MB, free: 9.961 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.0007942/0.3033, allocations: 455.8 kB / 428 MB, free: 9.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3033, allocations: 8.031 kB / 428 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.3035, allocations: 36.78 kB / 428 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.3037, allocations: 151.7 kB / 428.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3037, allocations: 8 kB / 428.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3038, allocations: 8 kB / 428.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.304, allocations: 128.1 kB / 428.3 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.304, allocations: 4 kB / 428.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3041, allocations: 0 / 428.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3041, allocations: 4 kB / 428.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.3043, allocations: 71.86 kB / 428.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007372/0.305, allocations: 472.6 kB / 428.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.3054, allocations: 147.9 kB / 429 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.3055, allocations: 62.59 kB / 429.1 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.3055, allocations: 7.938 kB / 429.1 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.3058, allocations: 153 kB / 429.2 MB, free: 8.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.213e-06/0.3058, allocations: 0 / 429.2 MB, free: 8.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006155/0.3064, allocations: 269.3 kB / 429.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.3065, allocations: 122.8 kB / 429.6 MB, free: 7.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3067, allocations: 195.2 kB / 429.8 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.3068, allocations: 49.69 kB / 429.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.3069, allocations: 108.5 kB / 429.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.3069, allocations: 43.69 kB / 430 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.307, allocations: 61.67 kB / 430 MB, free: 7.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3071, allocations: 326.8 kB / 430.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3073, allocations: 104.1 kB / 430.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.3076, allocations: 140.2 kB / 430.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.308, allocations: 224.2 kB / 430.8 MB, free: 6.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.308, allocations: 3.938 kB / 430.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005413/0.3085, allocations: 313.3 kB / 431.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3085, allocations: 4 kB / 431.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3086, allocations: 0 / 431.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3086, allocations: 4 kB / 431.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3087, allocations: 27.98 kB / 431.2 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.3087, allocations: 11.86 kB / 431.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.464e-05/0.3088, allocations: 19.89 kB / 431.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.3088, allocations: 8 kB / 431.2 MB, free: 6.031 MB / 334.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.0001469/0.309, allocations: 149.9 kB / 431.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.309, allocations: 15.91 kB / 431.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3091, allocations: 21.33 kB / 431.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3091, allocations: 0 / 431.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3091, allocations: 3.938 kB / 431.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3091, allocations: 4 kB / 431.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.3093, allocations: 149.2 kB / 431.5 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3093, allocations: 96 / 431.5 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.3093, allocations: 11.98 kB / 431.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.3093, allocations: 11.98 kB / 431.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3093, allocations: 0 / 431.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3093, allocations: 8 kB / 431.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3093, allocations: 0 / 431.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.3098, allocations: 242.5 kB / 431.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.3098, allocations: 23.8 kB / 431.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.3098, allocations: 15.94 kB / 431.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.3099, allocations: 7.984 kB / 431.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.31, allocations: 19.92 kB / 431.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.31, allocations: 7.984 kB / 431.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3101, allocations: 137.2 kB / 432 MB, free: 5.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3101, allocations: 3.938 kB / 432 MB, free: 5.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.3105, allocations: 123.7 kB / 432.1 MB, free: 5.027 MB / 334.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.0007477/0.3113, allocations: 325.1 kB / 432.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.3117, allocations: 187.8 kB / 432.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3117, allocations: 192 / 432.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.3119, allocations: 59.91 kB / 432.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.3121, allocations: 12 kB / 432.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.3126, allocations: 284.9 kB / 433 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.3127, allocations: 98.58 kB / 433.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.042e-05/0.3128, allocations: 25.47 kB / 433.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.3128, allocations: 27.42 kB / 433.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3128, allocations: 0 / 433.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of Templates: time 0.007973/0.3208, allocations: 3.62 MB / 436.8 MB, free: 416 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.7807664312422276]