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.001323/0.001323, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001435/0.001435, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.519/1.519, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.002588/0.002588, allocations: 63.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1261, allocations: 53.33 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003016/0.1291, allocations: 1.55 MB / 429.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.1318, allocations: 1.496 MB / 430.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.1319, allocations: 4 kB / 430.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.132, allocations: 7.875 kB / 430.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.1321, allocations: 27.73 kB / 430.9 MB, free: 1.391 MB / 350.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.001176/0.1333, allocations: 386.8 kB / 431.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.1335, allocations: 135.6 kB / 431.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.1335, allocations: 9.5 kB / 431.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.889e-05/0.1336, allocations: 55.77 kB / 431.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007017/0.1343, allocations: 88.44 kB / 431.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.1343, allocations: 8 kB / 431.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007716/0.1351, allocations: 427.2 kB / 432 MB, free: 308 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.1352, allocations: 43.77 kB / 432.1 MB, free: 264 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.1353, allocations: 59.61 kB / 432.1 MB, free: 204 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2301/0.3653, allocations: 410.2 kB / 432.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3653, allocations: 0 / 432.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3653, allocations: 0.6875 kB / 432.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.3653, allocations: 0.9062 kB / 432.5 MB, free: 8.465 MB / 350.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.0008387/0.3662, allocations: 0.5223 MB / 433 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3662, allocations: 9.156 kB / 433 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.3665, allocations: 34.25 kB / 433.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3666, allocations: 207.5 kB / 433.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.3666, allocations: 9.094 kB / 433.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.3667, allocations: 11.81 kB / 433.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.367, allocations: 129 kB / 433.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.367, allocations: 3.938 kB / 433.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.367, allocations: 5.562 kB / 433.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.367, allocations: 0.8438 kB / 433.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.3672, allocations: 63.36 kB / 433.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.3679, allocations: 0.5444 MB / 434 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.3683, allocations: 149.3 kB / 434.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3684, allocations: 56.44 kB / 434.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.3684, allocations: 1.125 kB / 434.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.3687, allocations: 155.6 kB / 434.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.3687, allocations: 3.844 kB / 434.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005794/0.3693, allocations: 249.3 kB / 434.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3693, allocations: 123.1 kB / 434.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3695, allocations: 198.5 kB / 435 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3695, allocations: 47.3 kB / 435 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.3696, allocations: 108.9 kB / 435.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.3696, allocations: 43.31 kB / 435.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/0.3697, allocations: 61.02 kB / 435.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.3697, allocations: 336.6 kB / 435.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3699, allocations: 100.4 kB / 435.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.3701, allocations: 142.9 kB / 435.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.3705, allocations: 222.4 kB / 436 MB, free: 6.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3705, allocations: 1.125 kB / 436 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004966/0.371, allocations: 298.9 kB / 436.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.371, allocations: 6.969 kB / 436.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.371, allocations: 1.406 kB / 436.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.371, allocations: 3.375 kB / 436.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3712, allocations: 33.38 kB / 436.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3712, allocations: 8.672 kB / 436.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.3713, allocations: 29.69 kB / 436.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3713, allocations: 8.688 kB / 436.4 MB, free: 6.258 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.0001232/0.3714, allocations: 153 kB / 436.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3715, allocations: 14.34 kB / 436.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3715, allocations: 16.23 kB / 436.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3715, allocations: 2.125 kB / 436.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3715, allocations: 5.188 kB / 436.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3715, allocations: 1.125 kB / 436.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3717, allocations: 216.3 kB / 436.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3717, allocations: 4.281 kB / 436.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.3718, allocations: 10.61 kB / 436.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3718, allocations: 2.156 kB / 436.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3718, allocations: 2.625 kB / 436.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3718, allocations: 5.734 kB / 436.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3718, allocations: 0 / 436.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.3722, allocations: 251.2 kB / 437.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.3722, allocations: 94.59 kB / 437.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.3722, allocations: 13.55 kB / 437.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.3723, allocations: 13.19 kB / 437.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.3724, allocations: 17.47 kB / 437.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.3724, allocations: 3.625 kB / 437.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3725, allocations: 143 kB / 437.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3725, allocations: 0 / 437.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005442/0.373, allocations: 126.6 kB / 437.5 MB, free: 5.609 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.0007943/0.3738, allocations: 331.7 kB / 437.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004579/0.3743, allocations: 193.6 kB / 438 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3743, allocations: 0 / 438 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.3744, allocations: 57.2 kB / 438 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.3746, allocations: 8.359 kB / 438 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.3752, allocations: 309.2 kB / 438.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3753, allocations: 0.7216 MB / 439.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.3754, allocations: 17.84 kB / 439.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3754, allocations: 0 / 439.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of Templates: time 0.008447/0.3838, allocations: 3.949 MB / 443 MB, free: 4.176 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_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_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: 8.06402060110122]