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.001358/0.001358, allocations: 116.1 kB / 21.19 MB, free: 0.75 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.001526/0.001526, allocations: 219.1 kB / 24.48 MB, free: 4.199 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.407/1.407, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002043/0.002043, allocations: 67.78 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2653, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002793/0.2681, allocations: 1.56 MB / 433.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.2707, allocations: 1.512 MB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.2707, allocations: 0 / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.2708, allocations: 7.875 kB / 435.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.646e-05/0.2709, allocations: 35.72 kB / 435.2 MB, free: 4.266 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.001053/0.272, allocations: 386.8 kB / 435.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.2722, allocations: 131.6 kB / 435.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.2722, allocations: 5.5 kB / 435.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.2723, allocations: 63.7 kB / 435.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.2729, allocations: 89.53 kB / 435.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.273, allocations: 12 kB / 435.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006729/0.2736, allocations: 435.2 kB / 436.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.2737, allocations: 39.86 kB / 436.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.2738, allocations: 63.58 kB / 436.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.2744, allocations: 408.2 kB / 436.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2744, allocations: 0 / 436.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.2744, allocations: 0 / 436.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.2744, allocations: 0 / 436.8 MB, free: 2.668 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.000818/0.2752, allocations: 0.5213 MB / 437.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2752, allocations: 8.031 kB / 437.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.2755, allocations: 32.81 kB / 437.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.2756, allocations: 209.7 kB / 437.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.2757, allocations: 8.375 kB / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.2757, allocations: 12.11 kB / 437.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.276, allocations: 130.9 kB / 437.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.276, allocations: 3.938 kB / 437.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.276, allocations: 4 kB / 437.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.276, allocations: 0 / 437.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.2762, allocations: 59.95 kB / 437.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007937/0.277, allocations: 0.5515 MB / 438.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.2774, allocations: 151.7 kB / 438.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2775, allocations: 58.61 kB / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.2775, allocations: 0 / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.2778, allocations: 153.8 kB / 438.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.2778, allocations: 0 / 438.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006005/0.2784, allocations: 249.6 kB / 438.9 MB, free: 320 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.2785, allocations: 114.8 kB / 439 MB, free: 180 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.2787, allocations: 203.2 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.2787, allocations: 49.69 kB / 439.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.2788, allocations: 112.5 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.2789, allocations: 43.69 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.2789, allocations: 53.7 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2791, allocations: 334.8 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2793, allocations: 95.95 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.2795, allocations: 140.8 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.2799, allocations: 228.2 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2799, allocations: 4 kB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005342/0.2804, allocations: 305.4 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2805, allocations: 8 kB / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2805, allocations: 0 / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2805, allocations: 0 / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2806, allocations: 31.92 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2806, allocations: 4 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.2807, allocations: 35.78 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.2808, allocations: 16 kB / 440.6 MB, free: 14.48 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.0001439/0.2809, allocations: 141.8 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.2809, allocations: 15.91 kB / 440.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.281, allocations: 21.39 kB / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.281, allocations: 0 / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.281, allocations: 0 / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.281, allocations: 100.9 kB / 440.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.2811, allocations: 11.98 kB / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.2811, allocations: 12 kB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.2812, allocations: 7.984 kB / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005209/0.2817, allocations: 431.4 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005166/0.2822, allocations: 0.5166 MB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000146/0.2824, allocations: 60.12 kB / 441.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.2825, allocations: 145.1 kB / 442.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Backend: time 5.41e-07/0.2825, allocations: 4 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.2839, allocations: 432.8 kB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006617/0.2846, allocations: 0.6988 MB / 443.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Templates: time 0.007997/0.2926, allocations: 3.831 MB / 447 MB, free: 8.016 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.339775601401925]