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.001688/0.001688, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001961/0.001961, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.00198/0.00198, allocations: 47.92 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 53.35 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002816/0.3009, allocations: 1.531 MB / 433.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3035, allocations: 1.399 MB / 435.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.3036, allocations: 0 / 435.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.3037, allocations: 15.8 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.3038, allocations: 23.8 kB / 435.3 MB, free: 3.723 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.001185/0.305, allocations: 394.8 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3052, allocations: 135.6 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.3052, allocations: 9.672 kB / 435.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.3053, allocations: 59.7 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.306, allocations: 80.78 kB / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.306, allocations: 12 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.3068, allocations: 439.1 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.3069, allocations: 35.92 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.3069, allocations: 59.58 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.3076, allocations: 400.4 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3076, allocations: 4 kB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3076, allocations: 4 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3076, allocations: 0 / 436.9 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.0008069/0.3084, allocations: 456.7 kB / 437.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3085, allocations: 8.031 kB / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.3087, allocations: 28.83 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3089, allocations: 156 kB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3089, allocations: 8.312 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.3089, allocations: 12.12 kB / 437.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.3092, allocations: 128.2 kB / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3092, allocations: 0 / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3092, allocations: 0 / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3092, allocations: 4 kB / 437.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.3094, allocations: 71.86 kB / 437.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.3102, allocations: 476.6 kB / 438.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.3105, allocations: 143.7 kB / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3107, allocations: 62.55 kB / 438.4 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.3107, allocations: 0 / 438.4 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.311, allocations: 152.9 kB / 438.6 MB, free: 300 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.311, allocations: 0 / 438.6 MB, free: 300 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006178/0.3116, allocations: 262 kB / 438.8 MB, free: 32 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.951e-05/0.3117, allocations: 118.8 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3119, allocations: 199.1 kB / 439.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.312, allocations: 49.69 kB / 439.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.312, allocations: 108.5 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.3121, allocations: 43.69 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.3122, allocations: 57.69 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3123, allocations: 330.8 kB / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.3126, allocations: 108.1 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3128, allocations: 140 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.3132, allocations: 220.3 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3132, allocations: 0 / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005533/0.3137, allocations: 313.2 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3138, allocations: 8 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3138, allocations: 0 / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3138, allocations: 0 / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3139, allocations: 35.91 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3139, allocations: 0 / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.314, allocations: 23.84 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3141, allocations: 11.94 kB / 440.5 MB, free: 14.21 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.0001589/0.3142, allocations: 153.8 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.3143, allocations: 15.91 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.3143, allocations: 21.33 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3143, allocations: 0 / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3143, allocations: 4 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3143, allocations: 0 / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.3145, allocations: 149.2 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3145, allocations: 4 kB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.3146, allocations: 11.98 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3146, allocations: 4 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3146, allocations: 0 / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.3146, allocations: 11.98 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3146, allocations: 0 / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.315, allocations: 257.1 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.315, allocations: 11.91 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3151, allocations: 12 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.3151, allocations: 7.984 kB / 441.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.3152, allocations: 15.98 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3152, allocations: 7.984 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.3154, allocations: 145.1 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3154, allocations: 0 / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.3158, allocations: 127.6 kB / 441.5 MB, free: 13.21 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.0008091/0.3166, allocations: 340.7 kB / 441.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004679/0.3171, allocations: 179.8 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3171, allocations: 192 / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3172, allocations: 67.89 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.3174, allocations: 14.95 kB / 442.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.318, allocations: 302.8 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3181, allocations: 106.4 kB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.3182, allocations: 19.44 kB / 442.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3182, allocations: 4.062 kB / 442.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Templates: time 0.00738/0.3255, allocations: 3.973 MB / 446.5 MB, free: 8.191 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.58384637767449]