Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005796/0.005796, allocations: 106 kB / 21.98 MB, free: 5.223 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.001464/0.001464, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 259 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.88 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2597, allocations: 53.36 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002879/0.2626, allocations: 1.554 MB / 434.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.2653, allocations: 1.52 MB / 436.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.2654, allocations: 0 / 436.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.2655, allocations: 15.81 kB / 436.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2656, allocations: 27.78 kB / 436.3 MB, free: 3.816 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.001221/0.2668, allocations: 402.8 kB / 436.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.267, allocations: 135.5 kB / 436.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.2671, allocations: 9.484 kB / 436.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.2672, allocations: 55.78 kB / 436.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.2678, allocations: 89.67 kB / 437 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.2679, allocations: 12 kB / 437 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008333/0.2687, allocations: 467.1 kB / 437.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.2688, allocations: 35.91 kB / 437.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.2689, allocations: 67.53 kB / 437.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.2695, allocations: 409.2 kB / 437.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2695, allocations: 0 / 437.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2695, allocations: 0 / 437.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2695, allocations: 4 kB / 437.9 MB, free: 2.172 MB / 334.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.0008755/0.2704, allocations: 452.7 kB / 438.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2705, allocations: 12.02 kB / 438.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.2707, allocations: 28.83 kB / 438.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.2709, allocations: 151.9 kB / 438.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2709, allocations: 12.38 kB / 438.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.2709, allocations: 12.12 kB / 438.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.2712, allocations: 132.1 kB / 438.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2712, allocations: 0 / 438.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2713, allocations: 0 / 438.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2713, allocations: 0 / 438.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.2715, allocations: 75.88 kB / 438.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.2723, allocations: 0.5155 MB / 439.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.2727, allocations: 147.7 kB / 439.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.2728, allocations: 62.55 kB / 439.5 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.2728, allocations: 8 kB / 439.5 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.2731, allocations: 145.9 kB / 439.7 MB, free: 268 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.2731, allocations: 0 / 439.7 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006238/0.2737, allocations: 257.5 kB / 439.9 MB, free: 4 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/0.2738, allocations: 118.8 kB / 440 MB, free: 15.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.2741, allocations: 191.2 kB / 440.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.2741, allocations: 45.7 kB / 440.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.2742, allocations: 104.6 kB / 440.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.2742, allocations: 47.67 kB / 440.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.2743, allocations: 57.81 kB / 440.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2745, allocations: 338.8 kB / 440.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.2747, allocations: 95.95 kB / 440.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.2749, allocations: 140.1 kB / 441 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.2753, allocations: 224.2 kB / 441.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2753, allocations: 0 / 441.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005615/0.2759, allocations: 305.3 kB / 441.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2759, allocations: 7.984 kB / 441.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2759, allocations: 4.094 kB / 441.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.276, allocations: 4 kB / 441.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.2761, allocations: 27.92 kB / 441.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2761, allocations: 4 kB / 441.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2762, allocations: 39.7 kB / 441.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.2763, allocations: 8 kB / 441.6 MB, free: 14.19 MB / 350.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.000162/0.2764, allocations: 149.8 kB / 441.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.2764, allocations: 19.91 kB / 441.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.2765, allocations: 13.41 kB / 441.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.2765, allocations: 4 kB / 441.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2765, allocations: 0 / 441.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2765, allocations: 7.922 kB / 441.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.2767, allocations: 184.6 kB / 442 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.2767, allocations: 3.938 kB / 442 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.2768, allocations: 12 kB / 442 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2768, allocations: 96 / 442 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.2768, allocations: 11.97 kB / 442 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2768, allocations: 4 kB / 442 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2768, allocations: 0 / 442 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.2772, allocations: 246.4 kB / 442.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.2773, allocations: 19.89 kB / 442.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.2773, allocations: 12 kB / 442.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.2774, allocations: 7.984 kB / 442.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.2775, allocations: 15.92 kB / 442.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2775, allocations: 4 kB / 442.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.2776, allocations: 145.1 kB / 442.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2776, allocations: 0 / 442.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.2781, allocations: 127.6 kB / 442.6 MB, free: 13.14 MB / 350.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.0008286/0.2789, allocations: 337.2 kB / 442.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004977/0.2794, allocations: 187.7 kB / 443.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2794, allocations: 4 kB / 443.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.2796, allocations: 59.89 kB / 443.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.2798, allocations: 11.94 kB / 443.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.2803, allocations: 318.8 kB / 443.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.2807, allocations: 0.7123 MB / 444.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.2807, allocations: 23.44 kB / 444.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2807, allocations: 0 / 444.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Templates: time 0.007382/0.2881, allocations: 3.936 MB / 448.2 MB, free: 7.535 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.249853000976145]