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.000931/0.000931, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009804/0.0009804, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 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 0.9406/0.9406, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.272e-06/1.272e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.041e-05, allocations: 4.844 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001837/0.001857, allocations: 1.568 MB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.003585, allocations: 1.449 MB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.003642, allocations: 4 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.673e-05/0.003729, allocations: 7.875 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/0.003809, allocations: 27.78 kB / 276.5 MB, free: 14.21 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.0008063/0.004616, allocations: 402.5 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.004748, allocations: 135.6 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.004786, allocations: 6.344 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.004858, allocations: 79.67 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.005217, allocations: 98.69 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.005246, allocations: 12 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.005707, allocations: 442.9 kB / 277.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.005752, allocations: 43.83 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.00579, allocations: 35.86 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.006213, allocations: 430.7 kB / 278.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006215, allocations: 0 / 278.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006216, allocations: 0 / 278.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.006219, allocations: 0 / 278.2 MB, free: 12.58 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.0004449/0.006664, allocations: 419.4 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.006694, allocations: 16.02 kB / 278.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.006829, allocations: 32.84 kB / 278.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.006933, allocations: 159.9 kB / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.006948, allocations: 8.312 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.00696, allocations: 4.375 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.007084, allocations: 91.59 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.007091, allocations: 3.938 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.007102, allocations: 7.984 kB / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.007108, allocations: 4 kB / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.007145, allocations: 25.59 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.007471, allocations: 382.2 kB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.007598, allocations: 171.5 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.007624, allocations: 30.56 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.00763, allocations: 7.938 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.007743, allocations: 123.7 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.007744, allocations: 0 / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001473/0.007891, allocations: 119.2 kB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.007942, allocations: 110.8 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.008035, allocations: 187.3 kB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.008061, allocations: 45.69 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.0081, allocations: 104.5 kB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.00813, allocations: 43.66 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.008184, allocations: 61.66 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.008259, allocations: 330.8 kB / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.008302, allocations: 30.75 kB / 280.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.008364, allocations: 67.52 kB / 280.7 MB, free: 9.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.406e-05/0.008458, allocations: 113.4 kB / 280.8 MB, free: 9.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.00846, allocations: 0 / 280.8 MB, free: 9.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001381/0.008598, allocations: 152.3 kB / 280.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.008607, allocations: 4 kB / 280.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008613, allocations: 4 kB / 281 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.008622, allocations: 0 / 281 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.008727, allocations: 52.02 kB / 281 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.00873, allocations: 0 / 281 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.00877, allocations: 27.83 kB / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.008779, allocations: 4 kB / 281 MB, free: 9.434 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 7.757e-05/0.008856, allocations: 144.6 kB / 281.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.008872, allocations: 11.94 kB / 281.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.008896, allocations: 17.45 kB / 281.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.008898, allocations: 0 / 281.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.0089, allocations: 4 kB / 281.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.008903, allocations: 7.938 kB / 281.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.894e-05/0.008992, allocations: 101.8 kB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.008993, allocations: 0 / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.009012, allocations: 11.98 kB / 281.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.009014, allocations: 3.938 kB / 281.3 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.009019, allocations: 0 / 281.3 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.009023, allocations: 7.938 kB / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.009024, allocations: 0 / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.009126, allocations: 123.3 kB / 281.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.009143, allocations: 19.84 kB / 281.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.009162, allocations: 15.92 kB / 281.5 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.009187, allocations: 4 kB / 281.5 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.009221, allocations: 11.98 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.009227, allocations: 11.92 kB / 281.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.009268, allocations: 58.7 kB / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009268, allocations: 0 / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.00949, allocations: 119.6 kB / 281.7 MB, free: 8.715 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.0005394/0.01003, allocations: 367.4 kB / 282.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.01016, allocations: 105.5 kB / 282.2 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.01017, allocations: 0 / 282.2 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.0102, allocations: 28.84 kB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.816e-05/0.0103, allocations: 30.45 kB / 282.2 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.01062, allocations: 273.1 kB / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.01065, allocations: 67.84 kB / 282.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.01069, allocations: 21.66 kB / 282.6 MB, free: 7.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.01074, allocations: 71.38 kB / 282.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of SimCode: time 2.91e-07/0.01074, allocations: 0 / 282.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of Templates: time 0.005294/0.01604, allocations: 4.137 MB / 286.8 MB, free: 3.645 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","",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.681435705628246]