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.002047/0.002047, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002232/0.002232, allocations: 165.6 kB / 24.27 MB, free: 152 kB / 18.57 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.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 1.803e-06/1.803e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.692e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003005/0.003032, allocations: 1.549 MB / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.00574, allocations: 1.418 MB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.005795, allocations: 0 / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.005902, allocations: 19.8 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.006004, allocations: 31.72 kB / 275.3 MB, free: 14.77 MB / 266.7 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.001137/0.007141, allocations: 402.5 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.007343, allocations: 135.5 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.007391, allocations: 9.688 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.007502, allocations: 75.8 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006632/0.008165, allocations: 84.42 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.008196, allocations: 12 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007781/0.008974, allocations: 442.9 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.009039, allocations: 39.84 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.009103, allocations: 39.84 kB / 276.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.00983, allocations: 454.7 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.009835, allocations: 4 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.009835, allocations: 0 / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.009841, allocations: 0 / 277 MB, free: 13.12 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.0008344/0.01068, allocations: 0.5533 MB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.01072, allocations: 8.031 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.01096, allocations: 40.77 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.01115, allocations: 154 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.01117, allocations: 4.375 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.0112, allocations: 12.38 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.01143, allocations: 113.1 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01145, allocations: 7.938 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.01146, allocations: 4 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.01147, allocations: 4 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.01164, allocations: 43.91 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/0.01248, allocations: 0.6147 MB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.01283, allocations: 149.1 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.01295, allocations: 55.11 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.01297, allocations: 4 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.01323, allocations: 152.1 kB / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.01323, allocations: 0 / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005687/0.0138, allocations: 201.4 kB / 279.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.979e-05/0.0139, allocations: 118.8 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.01418, allocations: 274.6 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.01423, allocations: 41.7 kB / 279.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.01434, allocations: 155.4 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.01441, allocations: 59.61 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.01453, allocations: 79.47 kB / 279.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002801/0.01481, allocations: 0.5118 MB / 280.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.01496, allocations: 55.97 kB / 280.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.01517, allocations: 106.7 kB / 280.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.01549, allocations: 155.1 kB / 280.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01549, allocations: 3.938 kB / 280.6 MB, free: 9.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004932/0.01598, allocations: 237.3 kB / 280.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.016, allocations: 8 kB / 280.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01601, allocations: 0 / 280.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01602, allocations: 0 / 280.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.01622, allocations: 47.91 kB / 280.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.01623, allocations: 4 kB / 280.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.01632, allocations: 23.83 kB / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.01634, allocations: 12 kB / 281 MB, free: 8.828 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,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.0002361/0.01658, allocations: 196.5 kB / 281.2 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.01662, allocations: 15.91 kB / 281.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.01666, allocations: 21.45 kB / 281.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01666, allocations: 0 / 281.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.01667, allocations: 4 kB / 281.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01667, allocations: 0 / 281.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01689, allocations: 160.5 kB / 281.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.0169, allocations: 4 kB / 281.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.01694, allocations: 4 kB / 281.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01695, allocations: 4 kB / 281.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01696, allocations: 7.984 kB / 281.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.01697, allocations: 4 kB / 281.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01697, allocations: 0 / 281.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.01739, allocations: 230.2 kB / 281.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.01744, allocations: 27.83 kB / 281.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.01747, allocations: 7.938 kB / 281.6 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.383e-05/0.01754, allocations: 11.98 kB / 281.7 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.01761, allocations: 15.98 kB / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.01762, allocations: 4 kB / 281.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.01779, allocations: 193 kB / 281.9 MB, free: 7.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01779, allocations: 0 / 281.9 MB, free: 7.859 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.01823, allocations: 123.7 kB / 282 MB, free: 7.738 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.001037/0.01926, allocations: 352.6 kB / 282.3 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.01968, allocations: 156.2 kB / 282.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01968, allocations: 0 / 282.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.01982, allocations: 55.61 kB / 282.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.02003, allocations: 20.17 kB / 282.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.02059, allocations: 288 kB / 282.8 MB, free: 6.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.02071, allocations: 102.8 kB / 282.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.587e-05/0.02078, allocations: 17.67 kB / 282.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.02083, allocations: 20.48 kB / 283 MB, free: 6.707 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02083, allocations: 4 kB / 283 MB, free: 6.703 MB / 266.7 MB Notification: Performance of Templates: time 0.008855/0.02968, allocations: 3.736 MB / 286.7 MB, free: 2.98 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] 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.740427993005142]