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.000832/0.000832, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.002155, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0008316/0.0008316, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001902, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9743/0.9743, allocations: 173.4 MB / 185.8 MB, free: 8.973 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09059/1.065, allocations: 52.49 MB / 238.3 MB, free: 4.418 MB / 234.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 1.412e-06/1.412e-06, allocations: 0 / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.117e-05, allocations: 2.312 kB / 239.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002763/0.002784, allocations: 1.589 MB / 241.2 MB, free: 1.547 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.004928, allocations: 1.408 MB / 242.6 MB, free: 136 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.004992, allocations: 7.938 kB / 242.6 MB, free: 128 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.043e-05/0.005053, allocations: 7.875 kB / 242.6 MB, free: 120 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/0.005139, allocations: 23.78 kB / 242.6 MB, free: 96 kB / 234.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.000881/0.00602, allocations: 358.5 kB / 243 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.006205, allocations: 127.6 kB / 243.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.00625, allocations: 10.34 kB / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.006402, allocations: 100.4 kB / 243.2 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.006871, allocations: 96.06 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.006903, allocations: 12 kB / 243.3 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007542/0.007657, allocations: 459 kB / 243.7 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.007712, allocations: 27.88 kB / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.00776, allocations: 23.94 kB / 243.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.00836, allocations: 370.8 kB / 244.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.916e-05/0.008379, allocations: 0 / 244.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.00838, allocations: 0 / 244.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.008398, allocations: 4 kB / 244.2 MB, free: 14.55 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.0007509/0.009149, allocations: 467 kB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.009183, allocations: 8.031 kB / 244.6 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.009408, allocations: 106 kB / 244.7 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.009547, allocations: 159 kB / 244.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.009571, allocations: 8.375 kB / 244.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.00959, allocations: 15.92 kB / 244.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.009758, allocations: 87.03 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.009766, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.009779, allocations: 11.98 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.009787, allocations: 4 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.415e-05/0.009851, allocations: 25.58 kB / 245 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.01033, allocations: 382 kB / 245.4 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.01049, allocations: 171.7 kB / 245.6 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.01053, allocations: 26.52 kB / 245.6 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.01054, allocations: 4 kB / 245.6 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.01071, allocations: 120.7 kB / 245.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.01071, allocations: 3.938 kB / 245.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002212/0.01093, allocations: 111.2 kB / 245.8 MB, free: 12.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.011, allocations: 110.8 kB / 245.9 MB, free: 12.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.01115, allocations: 191.3 kB / 246.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.01119, allocations: 41.7 kB / 246.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.01124, allocations: 112.4 kB / 246.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.01129, allocations: 43.67 kB / 246.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/0.01137, allocations: 61.77 kB / 246.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01147, allocations: 338.7 kB / 246.7 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.01153, allocations: 34.81 kB / 246.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.01161, allocations: 63.25 kB / 246.8 MB, free: 11.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.01175, allocations: 113.4 kB / 246.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01176, allocations: 0 / 246.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000214/0.01197, allocations: 148.3 kB / 247.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.01199, allocations: 12.09 kB / 247.1 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.012, allocations: 0 / 247.1 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.01201, allocations: 0 / 247.1 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.01218, allocations: 55.91 kB / 247.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01218, allocations: 4 kB / 247.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.01225, allocations: 19.83 kB / 247.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01226, allocations: 4 kB / 247.2 MB, free: 11.27 MB / 250.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 0.000115/0.01237, allocations: 152.5 kB / 247.3 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.0124, allocations: 15.98 kB / 247.3 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.01243, allocations: 13.47 kB / 247.3 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01243, allocations: 4.078 kB / 247.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01244, allocations: 0 / 247.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.01244, allocations: 7.984 kB / 247.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.01257, allocations: 97.75 kB / 247.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.01258, allocations: 4 kB / 247.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.01261, allocations: 7.984 kB / 247.5 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.01263, allocations: 19.84 kB / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01264, allocations: 3.938 kB / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01265, allocations: 7.984 kB / 247.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01265, allocations: 4 kB / 247.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01265, allocations: 0 / 247.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.01282, allocations: 140 kB / 247.6 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.01284, allocations: 4 kB / 247.6 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.01288, allocations: 4 kB / 247.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.01294, allocations: 19.91 kB / 247.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.01295, allocations: 4 kB / 247.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.013, allocations: 50.78 kB / 247.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.013, allocations: 0 / 247.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004181/0.01342, allocations: 119.7 kB / 247.8 MB, free: 10.54 MB / 250.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.0008349/0.01426, allocations: 381.1 kB / 248.2 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.01444, allocations: 96.67 kB / 248.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.01445, allocations: 4 kB / 248.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.0145, allocations: 24.84 kB / 248.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.01465, allocations: 27.92 kB / 248.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.0153, allocations: 289.2 kB / 248.6 MB, free: 9.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.01535, allocations: 71.84 kB / 248.7 MB, free: 9.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.793e-05/0.01542, allocations: 21.47 kB / 248.7 MB, free: 9.637 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.0155, allocations: 67.38 kB / 248.8 MB, free: 9.57 MB / 250.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0155, allocations: 0 / 248.8 MB, free: 9.57 MB / 250.7 MB Notification: Performance of Templates: time 0.008397/0.0239, allocations: 4.05 MB / 252.8 MB, free: 5.547 MB / 250.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 -ignoreHideResult -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.6230912739410996]