Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3235, allocations: 53.37 MB / 432.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003119/0.3266, allocations: 1.523 MB / 433.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.3294, allocations: 1.391 MB / 435.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.3294, allocations: 4 kB / 435.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.605e-05/0.3295, allocations: 15.81 kB / 435.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.3296, allocations: 23.78 kB / 435.3 MB, free: 3.895 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.001016/0.3306, allocations: 406.7 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.3308, allocations: 127.6 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.3308, allocations: 9.672 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.3309, allocations: 59.78 kB / 435.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.3315, allocations: 89.14 kB / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.3315, allocations: 12 kB / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007458/0.3322, allocations: 451.2 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.3323, allocations: 39.83 kB / 436.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.3324, allocations: 55.67 kB / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.333, allocations: 405.8 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.333, allocations: 0 / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.333, allocations: 3.938 kB / 436.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.333, allocations: 4 kB / 436.9 MB, free: 2.266 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.0007727/0.3338, allocations: 452.8 kB / 437.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3338, allocations: 8.031 kB / 437.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002618/0.3341, allocations: 32.81 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.3343, allocations: 155.9 kB / 437.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.3343, allocations: 8.375 kB / 437.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.3344, allocations: 16.11 kB / 437.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.3347, allocations: 128.1 kB / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3347, allocations: 0 / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.3347, allocations: 4 kB / 437.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3347, allocations: 8 kB / 437.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.3349, allocations: 59.95 kB / 437.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008132/0.3357, allocations: 480.5 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.3361, allocations: 147.7 kB / 438.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.3363, allocations: 62.61 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.3363, allocations: 0 / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.3366, allocations: 152 kB / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.3366, allocations: 0 / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006842/0.3373, allocations: 262.1 kB / 438.8 MB, free: 164 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.3374, allocations: 114.8 kB / 439 MB, free: 24 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.3377, allocations: 207.1 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.3378, allocations: 41.7 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.3379, allocations: 104.6 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.3379, allocations: 47.67 kB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.3381, allocations: 61.69 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.3383, allocations: 334.8 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.3385, allocations: 95.95 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.3388, allocations: 144.1 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.3393, allocations: 220.2 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3393, allocations: 0 / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005764/0.3398, allocations: 301.4 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.3398, allocations: 8.094 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3399, allocations: 4 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3399, allocations: 0 / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3401, allocations: 35.92 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3401, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.344e-05/0.3402, allocations: 27.83 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.3402, allocations: 15.88 kB / 440.6 MB, free: 14.35 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.0001969/0.3404, allocations: 153.8 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.3404, allocations: 15.91 kB / 440.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.3405, allocations: 13.41 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3405, allocations: 0 / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.3405, allocations: 4 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.3405, allocations: 3.984 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.3407, allocations: 153.1 kB / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3407, allocations: 0 / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.3408, allocations: 12 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3408, allocations: 7.938 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3408, allocations: 3.984 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3408, allocations: 8 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3408, allocations: 0 / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.3413, allocations: 246.5 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.3413, allocations: 11.91 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.3414, allocations: 19.98 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.3414, allocations: 7.984 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.3415, allocations: 15.92 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3415, allocations: 4 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.3417, allocations: 149.1 kB / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3417, allocations: 0 / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006006/0.3423, allocations: 131.6 kB / 441.5 MB, free: 13.34 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.0009341/0.3432, allocations: 332.9 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006336/0.3439, allocations: 187.7 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3439, allocations: 0 / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.344, allocations: 56.22 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.3442, allocations: 16 kB / 442.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.345, allocations: 306.7 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3451, allocations: 106.4 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.3452, allocations: 19.44 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3452, allocations: 0 / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.008348/0.3535, allocations: 3.969 MB / 446.5 MB, free: 8.336 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.16927997401217]