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.001941/0.001941, allocations: 83.47 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002608/0.002608, allocations: 157.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.476/1.476, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.004e-06/2.004e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.353e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003008/0.003041, allocations: 1.525 MB / 326.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.006051, allocations: 1.411 MB / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.006183, allocations: 0 / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.006292, allocations: 10.22 kB / 328 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.006412, allocations: 30.52 kB / 328 MB, free: 14.52 MB / 302.1 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.001481/0.007893, allocations: 401.2 kB / 328.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.008181, allocations: 134 kB / 328.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.008238, allocations: 10.7 kB / 328.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.008357, allocations: 77.58 kB / 328.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.009034, allocations: 72.98 kB / 328.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.00907, allocations: 11.16 kB / 328.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009233/0.009993, allocations: 448.8 kB / 329.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.01006, allocations: 34.06 kB / 329.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.01013, allocations: 41.66 kB / 329.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000881/0.01101, allocations: 468.8 kB / 329.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.01102, allocations: 0 / 329.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01102, allocations: 0 / 329.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.01103, allocations: 1.281 kB / 329.7 MB, free: 13.84 MB / 302.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.0009059/0.01193, allocations: 451 kB / 330.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.01197, allocations: 13.02 kB / 330.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.01221, allocations: 34.61 kB / 330.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.0124, allocations: 151.4 kB / 330.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.01242, allocations: 3.562 kB / 330.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.01245, allocations: 9.75 kB / 330.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.01274, allocations: 126.6 kB / 330.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.01275, allocations: 192 / 330.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.01277, allocations: 5.234 kB / 330.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.01278, allocations: 5.219 kB / 330.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.01304, allocations: 73.22 kB / 330.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/0.01389, allocations: 476.2 kB / 331 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.01428, allocations: 140.8 kB / 331.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.01442, allocations: 60.95 kB / 331.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.01443, allocations: 9.156 kB / 331.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.01476, allocations: 154.8 kB / 331.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.833e-06/0.01476, allocations: 0 / 331.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006743/0.01544, allocations: 256.3 kB / 331.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.01553, allocations: 120 kB / 331.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.01577, allocations: 201.4 kB / 331.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.01583, allocations: 49.59 kB / 331.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.01592, allocations: 106.5 kB / 332 MB, free: 11.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.01598, allocations: 42.84 kB / 332.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.01608, allocations: 64.7 kB / 332.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.01626, allocations: 328.5 kB / 332.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.01649, allocations: 100.5 kB / 332.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.01675, allocations: 141.5 kB / 332.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.01718, allocations: 228.8 kB / 332.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01719, allocations: 1.031 kB / 332.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005989/0.01778, allocations: 303.8 kB / 333.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.0178, allocations: 5.438 kB / 333.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01781, allocations: 1.062 kB / 333.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.01783, allocations: 2.969 kB / 333.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.01801, allocations: 37.78 kB / 333.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.01802, allocations: 6.625 kB / 333.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01813, allocations: 18.78 kB / 333.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.01815, allocations: 5.844 kB / 333.3 MB, free: 10.99 MB / 302.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.0001845/0.01834, allocations: 148.5 kB / 333.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.01837, allocations: 22.11 kB / 333.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.01841, allocations: 18.31 kB / 333.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.01842, allocations: 9.375 kB / 333.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.01842, allocations: 0 / 333.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01842, allocations: 1.375 kB / 333.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.01865, allocations: 151.1 kB / 333.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01865, allocations: 1.5 kB / 333.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.01872, allocations: 14.86 kB / 333.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01872, allocations: 1.562 kB / 333.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.01874, allocations: 6.766 kB / 333.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.01874, allocations: 1.375 kB / 333.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01875, allocations: 0 / 333.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.0192, allocations: 248.9 kB / 333.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.01924, allocations: 24.94 kB / 333.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.01928, allocations: 10.61 kB / 334 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.01935, allocations: 4.281 kB / 334 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.01941, allocations: 18.38 kB / 334 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01942, allocations: 6.656 kB / 334 MB, free: 10.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.01956, allocations: 143 kB / 334.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01956, allocations: 0 / 334.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006574/0.02022, allocations: 121.5 kB / 334.2 MB, free: 10.31 MB / 302.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.0009028/0.02112, allocations: 356.6 kB / 334.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.02162, allocations: 183.7 kB / 334.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.02162, allocations: 0 / 334.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.02179, allocations: 59.03 kB / 334.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.02199, allocations: 15.12 kB / 334.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.02261, allocations: 275.8 kB / 335.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.02272, allocations: 109.4 kB / 335.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.92e-05/0.0228, allocations: 22.69 kB / 335.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.02286, allocations: 16.91 kB / 335.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.02286, allocations: 0 / 335.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of Templates: time 0.009472/0.03233, allocations: 3.688 MB / 338.9 MB, free: 6.805 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.5430174469947815]