Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9519/0.9519, allocations: 177 MB / 204.8 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.8e-05/4.024e-05, allocations: 3.719 kB / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003074/0.003114, allocations: 1.569 MB / 274.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.005597, allocations: 1.437 MB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.00568, allocations: 4 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.889e-05/0.005779, allocations: 15.75 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.005881, allocations: 23.78 kB / 276 MB, free: 14.22 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001098/0.006979, allocations: 414.5 kB / 276.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.007134, allocations: 131.6 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.007172, allocations: 9.672 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.007249, allocations: 79.73 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.007642, allocations: 77.09 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.007678, allocations: 12 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005712/0.008249, allocations: 446.9 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.0083, allocations: 35.83 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.008347, allocations: 43.84 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.008947, allocations: 430.7 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.008952, allocations: 4 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.008953, allocations: 0 / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.008958, allocations: 0 / 277.6 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.0006352/0.009594, allocations: 0.5381 MB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.009627, allocations: 11.98 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.009801, allocations: 32.83 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.009937, allocations: 178.2 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.009961, allocations: 8.375 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.009975, allocations: 8.375 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.01018, allocations: 101.3 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01019, allocations: 4.125 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.01021, allocations: 4.375 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.01021, allocations: 3.938 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.01029, allocations: 19.98 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.01088, allocations: 0.6029 MB / 279.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.01102, allocations: 109.2 kB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.01107, allocations: 47.28 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.01108, allocations: 0 / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.01124, allocations: 143.2 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.01124, allocations: 0 / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002831/0.01152, allocations: 157.5 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.01158, allocations: 118.8 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.01174, allocations: 242.7 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.01177, allocations: 49.69 kB / 280 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.01183, allocations: 159.3 kB / 280.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.01187, allocations: 51.75 kB / 280.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.01193, allocations: 71.34 kB / 280.2 MB, free: 9.672 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.01208, allocations: 0.5001 MB / 280.7 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.01216, allocations: 35.97 kB / 280.8 MB, free: 9.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.01225, allocations: 91.31 kB / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.0124, allocations: 127.2 kB / 281 MB, free: 8.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.0124, allocations: 0 / 281 MB, free: 8.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002277/0.01263, allocations: 209.3 kB / 281.2 MB, free: 8.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01265, allocations: 4 kB / 281.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01265, allocations: 0 / 281.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01267, allocations: 4 kB / 281.2 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.0128, allocations: 43.98 kB / 281.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01281, allocations: 3.938 kB / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.01286, allocations: 23.83 kB / 281.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.01287, allocations: 8 kB / 281.3 MB, free: 8.582 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.0001182/0.01299, allocations: 188.7 kB / 281.5 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.01302, allocations: 27.78 kB / 281.5 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.01305, allocations: 13.47 kB / 281.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01305, allocations: 0 / 281.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01306, allocations: 0 / 281.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01306, allocations: 7.984 kB / 281.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.01319, allocations: 148.6 kB / 281.7 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01319, allocations: 3.984 kB / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.01322, allocations: 15.94 kB / 281.7 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01322, allocations: 3.938 kB / 281.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.01323, allocations: 8 kB / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01324, allocations: 480 / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01324, allocations: 0 / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.01344, allocations: 199.5 kB / 281.9 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.01346, allocations: 27.77 kB / 281.9 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.01349, allocations: 8 kB / 281.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.28e-05/0.01352, allocations: 4 kB / 281.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.01357, allocations: 15.97 kB / 281.9 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-06/0.01358, allocations: 4 kB / 281.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.493e-05/0.01367, allocations: 177 kB / 282.1 MB, free: 7.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01367, allocations: 4 kB / 282.1 MB, free: 7.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.01404, allocations: 127.6 kB / 282.2 MB, free: 7.543 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.0006284/0.01467, allocations: 355.2 kB / 282.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.0149, allocations: 116.4 kB / 282.7 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.0149, allocations: 0 / 282.7 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.326e-05/0.01495, allocations: 43.59 kB / 282.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.01512, allocations: 19.88 kB / 282.8 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.01553, allocations: 280.3 kB / 283 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.01557, allocations: 71.83 kB / 283.1 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.015e-05/0.01562, allocations: 21.47 kB / 283.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.01566, allocations: 20.48 kB / 283.2 MB, free: 6.59 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01566, allocations: 0 / 283.2 MB, free: 6.59 MB / 266.7 MB Notification: Performance of Templates: time 0.006941/0.0226, allocations: 4.2 MB / 287.4 MB, free: 2.406 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.903768726158887]