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.001646/0.001646, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002092/0.002092, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.513/1.513, allocations: 230.5 MB / 258.1 MB, free: 7.773 MB / 206.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 0.001972/0.001972, allocations: 67.89 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3088, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002686/0.3115, allocations: 1.52 MB / 433.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.3139, allocations: 1.402 MB / 435.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.314, allocations: 0 / 435.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.407e-05/0.314, allocations: 19.8 kB / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.3141, allocations: 23.8 kB / 435.4 MB, free: 3.535 MB / 334.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.0009401/0.3151, allocations: 398.8 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3152, allocations: 131.6 kB / 435.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.3152, allocations: 5.688 kB / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.3153, allocations: 63.75 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.3158, allocations: 81.14 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3158, allocations: 12 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006982/0.3165, allocations: 439.2 kB / 436.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.3166, allocations: 35.86 kB / 436.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.3166, allocations: 59.58 kB / 436.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.3172, allocations: 413.6 kB / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3172, allocations: 0 / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3172, allocations: 0 / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.3172, allocations: 0 / 437 MB, free: 1.934 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.0006222/0.3178, allocations: 452.7 kB / 437.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.557e-05/0.3179, allocations: 15.98 kB / 437.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.3181, allocations: 28.83 kB / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.3182, allocations: 156.2 kB / 437.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3183, allocations: 4.375 kB / 437.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3183, allocations: 12.38 kB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.3185, allocations: 132.5 kB / 437.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3185, allocations: 0 / 437.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3186, allocations: 4 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3186, allocations: 0 / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.3188, allocations: 59.94 kB / 437.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.3195, allocations: 484.6 kB / 438.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.3198, allocations: 147.7 kB / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3199, allocations: 54.77 kB / 438.5 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.32, allocations: 8 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.3202, allocations: 157.8 kB / 438.6 MB, free: 88 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.3202, allocations: 4 kB / 438.6 MB, free: 84 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006072/0.3208, allocations: 245.9 kB / 438.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.356e-05/0.3209, allocations: 122.7 kB / 439 MB, free: 15.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.3211, allocations: 199.2 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.3212, allocations: 45.69 kB / 439.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.3212, allocations: 108.6 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.3213, allocations: 43.69 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.3214, allocations: 57.81 kB / 439.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3215, allocations: 338.8 kB / 439.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.3217, allocations: 95.94 kB / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.322, allocations: 131.4 kB / 440 MB, free: 14.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.3223, allocations: 227.7 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3224, allocations: 0 / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000537/0.3229, allocations: 309.4 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3229, allocations: 6.344 kB / 440.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3229, allocations: 3.984 kB / 440.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3229, allocations: 4 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.3231, allocations: 35.86 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3231, allocations: 4 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.142e-05/0.3232, allocations: 31.86 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3232, allocations: 8 kB / 440.6 MB, free: 14.02 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.0001469/0.3233, allocations: 150.4 kB / 440.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.3234, allocations: 19.91 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.3234, allocations: 13.39 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3234, allocations: 4 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3234, allocations: 0 / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3234, allocations: 0 / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3236, allocations: 153.2 kB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3236, allocations: 8 kB / 441 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.3237, allocations: 15.97 kB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3237, allocations: 3.938 kB / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3237, allocations: 8 kB / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3237, allocations: 0 / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3237, allocations: 0 / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.3241, allocations: 246.5 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.3241, allocations: 15.89 kB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.3241, allocations: 12 kB / 441.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.3242, allocations: 11.98 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.3243, allocations: 15.92 kB / 441.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3243, allocations: 4 kB / 441.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.3244, allocations: 141.2 kB / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3244, allocations: 0 / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.3248, allocations: 123.6 kB / 441.5 MB, free: 13.02 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.0007412/0.3256, allocations: 330.5 kB / 441.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.326, allocations: 199.9 kB / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.326, allocations: 0 / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.3262, allocations: 59.91 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.3263, allocations: 11.8 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.3269, allocations: 310.7 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.327, allocations: 110.7 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.327, allocations: 19.44 kB / 442.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.327, allocations: 0 / 442.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Templates: time 0.006491/0.3335, allocations: 3.975 MB / 446.5 MB, free: 7.992 MB / 350.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/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_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: 7.981852607801557]