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.001086/0.001086, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001282/0.001282, allocations: 142.2 kB / 24.97 MB, free: 8.18 MB / 18.57 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.039/1.039, allocations: 173.3 MB / 201.5 MB, free: 8.961 MB / 186.7 MB " [Timeout remaining time 179] 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 2.485e-06/2.485e-06, allocations: 0 / 268.1 MB, free: 6.594 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.506e-05, allocations: 2.312 kB / 268.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002024/0.002059, allocations: 1.547 MB / 269.6 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.003917, allocations: 1.395 MB / 271 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.003976, allocations: 0 / 271 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.582e-05/0.004072, allocations: 11.88 kB / 271 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.25e-05/0.004165, allocations: 27.73 kB / 271.1 MB, free: 3.59 MB / 250.7 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.0008154/0.00498, allocations: 402.4 kB / 271.5 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.005128, allocations: 139.5 kB / 271.6 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.005173, allocations: 5.688 kB / 271.6 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.005255, allocations: 71.8 kB / 271.7 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.005692, allocations: 99.19 kB / 271.8 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.005725, allocations: 12 kB / 271.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.0063, allocations: 427 kB / 272.2 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.006356, allocations: 39.83 kB / 272.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.006409, allocations: 39.84 kB / 272.3 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.006882, allocations: 422.7 kB / 272.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.006886, allocations: 11.94 kB / 272.7 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006887, allocations: 0 / 272.7 MB, free: 1.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.006892, allocations: 0 / 272.7 MB, free: 1.961 MB / 250.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.0006157/0.007508, allocations: 0.5381 MB / 273.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.007545, allocations: 8.922 kB / 273.2 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.007733, allocations: 40.75 kB / 273.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.007872, allocations: 157.9 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.007891, allocations: 8.359 kB / 273.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.007908, allocations: 11.94 kB / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.008077, allocations: 103.3 kB / 273.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.008084, allocations: 0 / 273.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.008096, allocations: 4 kB / 273.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.008104, allocations: 4 kB / 273.6 MB, free: 1.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/0.008157, allocations: 23.92 kB / 273.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.008665, allocations: 0.6106 MB / 274.2 MB, free: 336 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.00881, allocations: 113.2 kB / 274.3 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.008852, allocations: 39.11 kB / 274.3 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.00886, allocations: 0 / 274.3 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.009018, allocations: 136 kB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 8.52e-07/0.009019, allocations: 0 / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002732/0.009292, allocations: 165.6 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.009352, allocations: 118.8 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.009501, allocations: 250.6 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.009527, allocations: 41.69 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.009594, allocations: 159.4 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.00963, allocations: 47.67 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.009694, allocations: 59.36 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.009815, allocations: 0.5078 MB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.009886, allocations: 35.97 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.009976, allocations: 94.64 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.01011, allocations: 119.2 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01011, allocations: 0 / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002086/0.01032, allocations: 197.4 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01033, allocations: 8 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01034, allocations: 0 / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01035, allocations: 4 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.01048, allocations: 52 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01049, allocations: 4 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.01053, allocations: 19.83 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.01054, allocations: 11.98 kB / 276.3 MB, free: 13.98 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 9.564e-05/0.01064, allocations: 184.5 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.01066, allocations: 23.86 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.01069, allocations: 17.45 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01069, allocations: 7.938 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.0107, allocations: 4 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.0107, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.01082, allocations: 160.5 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.01082, allocations: 0 / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.01084, allocations: 11.98 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01084, allocations: 0 / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.01085, allocations: 0 / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01085, allocations: 4 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01085, allocations: 0 / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.01105, allocations: 203.5 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.01107, allocations: 19.91 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.01109, allocations: 12.08 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.31e-05/0.01112, allocations: 8 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.01117, allocations: 15.97 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01118, allocations: 7.984 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.01127, allocations: 181 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01127, allocations: 4 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.01152, allocations: 119.6 kB / 277.3 MB, free: 12.94 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.0005375/0.01206, allocations: 359.4 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.01225, allocations: 115.6 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01225, allocations: 0 / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.458e-05/0.0123, allocations: 39.69 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.01246, allocations: 22.8 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.0128, allocations: 276 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.68e-05/0.01284, allocations: 75.64 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.535e-05/0.01289, allocations: 25.72 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.01292, allocations: 16.5 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01292, allocations: 0 / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.005172/0.01809, allocations: 3.653 MB / 281.9 MB, free: 8.367 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] 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","",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.976046357071027]