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.001428/0.001428, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001354/0.001354, allocations: 161.9 kB / 24.91 MB, free: 8.762 MB / 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 1.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.023 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 1.483e-06/1.483e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.682e-05, allocations: 9.203 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.0025/0.002527, allocations: 1.56 MB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.004726, allocations: 1.452 MB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.004785, allocations: 0 / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.004912, allocations: 15.8 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.004998, allocations: 35.72 kB / 276.5 MB, free: 13.95 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.0007719/0.00577, allocations: 394.5 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.005907, allocations: 139.5 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.005944, allocations: 10.33 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.006017, allocations: 71.8 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.006397, allocations: 86.06 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.006422, allocations: 8 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005037/0.006925, allocations: 442.9 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.006976, allocations: 43.83 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.007015, allocations: 39.84 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004597/0.007475, allocations: 426.7 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007478, allocations: 0 / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007479, allocations: 0 / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.007483, allocations: 0 / 278.1 MB, free: 12.33 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.0004837/0.007967, allocations: 419.4 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.007998, allocations: 15.98 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.008146, allocations: 36.89 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.008255, allocations: 163.5 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.008272, allocations: 8.359 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.008285, allocations: 4.375 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.008423, allocations: 94.83 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.008429, allocations: 192 / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.008438, allocations: 4.375 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.008445, allocations: 7.938 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.008482, allocations: 25.64 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.008829, allocations: 398 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.008956, allocations: 171.6 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.008985, allocations: 34.56 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.008992, allocations: 0 / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.009105, allocations: 108.7 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.009106, allocations: 0 / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000153/0.009259, allocations: 119.2 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.009315, allocations: 118.7 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.00941, allocations: 183.4 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.009437, allocations: 45.69 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.009479, allocations: 100.5 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.00951, allocations: 47.66 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.009561, allocations: 57.66 kB / 280.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.009637, allocations: 330.8 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.009683, allocations: 30.81 kB / 280.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.009738, allocations: 72.09 kB / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/0.009831, allocations: 105.5 kB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.009834, allocations: 0 / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001422/0.009976, allocations: 152.2 kB / 280.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.009989, allocations: 4 kB / 280.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.009998, allocations: 7.984 kB / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01001, allocations: 3.938 kB / 280.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.01012, allocations: 48.08 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01013, allocations: 4.406 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.01017, allocations: 23.84 kB / 281 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.01019, allocations: 7.984 kB / 281 MB, free: 9.176 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 9.826e-05/0.01029, allocations: 136.8 kB / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.01031, allocations: 19.86 kB / 281.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.01034, allocations: 17.45 kB / 281.1 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01034, allocations: 4 kB / 281.1 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01034, allocations: 4 kB / 281.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01035, allocations: 0 / 281.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.01046, allocations: 101.8 kB / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01046, allocations: 0 / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.01049, allocations: 8 kB / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01049, allocations: 0 / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.0105, allocations: 3.984 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.0105, allocations: 11.94 kB / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.0105, allocations: 0 / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.01065, allocations: 135.2 kB / 281.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.01066, allocations: 19.84 kB / 281.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.01069, allocations: 8 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.829e-05/0.01072, allocations: 7.922 kB / 281.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.01076, allocations: 11.98 kB / 281.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.01077, allocations: 4 kB / 281.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.01081, allocations: 58.7 kB / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01081, allocations: 0 / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.01113, allocations: 123.6 kB / 281.6 MB, free: 8.457 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.0006319/0.01176, allocations: 355.8 kB / 282 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.01194, allocations: 97.56 kB / 282.1 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.01195, allocations: 4 kB / 282.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/0.01199, allocations: 32.78 kB / 282.1 MB, free: 8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.01213, allocations: 19.86 kB / 282.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.01255, allocations: 273.1 kB / 282.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.0126, allocations: 71.83 kB / 282.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.01265, allocations: 25.72 kB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.01272, allocations: 71.36 kB / 282.6 MB, free: 7.496 MB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/0.01272, allocations: 0 / 282.6 MB, free: 7.496 MB / 266.7 MB Notification: Performance of Templates: time 0.006053/0.01877, allocations: 4.141 MB / 286.7 MB, free: 3.387 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.782675236929208]