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.001946/0.001946, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001664/0.001664, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.751/1.751, allocations: 230.2 MB / 254.5 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.001945/0.001945, allocations: 71.86 kB / 373.8 MB, free: 9.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.139, allocations: 53.33 MB / 427.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003484/0.1425, allocations: 1.536 MB / 428.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003461/0.1459, allocations: 1.507 MB / 430.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.146, allocations: 0 / 430.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.1462, allocations: 11.81 kB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.1463, allocations: 23.8 kB / 430.2 MB, free: 1.465 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.001483/0.1478, allocations: 390.8 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.148, allocations: 135.6 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.1481, allocations: 5.5 kB / 430.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.1482, allocations: 55.77 kB / 430.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007487/0.149, allocations: 88.91 kB / 430.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.149, allocations: 8 kB / 430.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007822/0.1498, allocations: 431.2 kB / 431.3 MB, free: 380 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.1498, allocations: 39.83 kB / 431.4 MB, free: 340 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.1499, allocations: 59.61 kB / 431.4 MB, free: 280 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3113/0.4613, allocations: 408.5 kB / 431.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.4613, allocations: 0.6875 kB / 431.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.4613, allocations: 0 / 431.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.4613, allocations: 1.469 kB / 431.8 MB, free: 8.434 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.001563/0.4629, allocations: 0.5227 MB / 432.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.977e-05/0.4629, allocations: 9.125 kB / 432.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.4633, allocations: 29.02 kB / 432.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.4636, allocations: 212.8 kB / 432.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.4637, allocations: 9.078 kB / 432.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.4637, allocations: 6.25 kB / 432.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.4641, allocations: 130.4 kB / 432.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.4641, allocations: 3.938 kB / 432.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.4641, allocations: 1.562 kB / 432.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.4641, allocations: 2.5 kB / 432.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.4644, allocations: 62.42 kB / 432.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.4655, allocations: 0.543 MB / 433.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.4659, allocations: 148.2 kB / 433.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.4661, allocations: 63.22 kB / 433.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.4661, allocations: 7.125 kB / 433.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.4665, allocations: 148.6 kB / 433.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.4665, allocations: 1.594 kB / 433.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007869/0.4673, allocations: 249.6 kB / 434 MB, free: 7.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.4674, allocations: 118.3 kB / 434.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.4676, allocations: 201.9 kB / 434.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.4677, allocations: 53.73 kB / 434.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.4678, allocations: 110 kB / 434.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.4678, allocations: 40.97 kB / 434.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.4679, allocations: 62.23 kB / 434.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.468, allocations: 339.6 kB / 434.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.4682, allocations: 98.94 kB / 435 MB, free: 6.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.4684, allocations: 132.7 kB / 435.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.4688, allocations: 223.6 kB / 435.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4688, allocations: 1.656 kB / 435.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005561/0.4694, allocations: 302.7 kB / 435.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4694, allocations: 9.562 kB / 435.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4694, allocations: 1.031 kB / 435.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.4695, allocations: 2.094 kB / 435.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.4696, allocations: 37.08 kB / 435.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4696, allocations: 4.703 kB / 435.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.4697, allocations: 23.28 kB / 435.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.4697, allocations: 9.562 kB / 435.7 MB, free: 6.227 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.00013/0.4699, allocations: 155.5 kB / 435.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.4699, allocations: 20.88 kB / 435.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.4699, allocations: 14.78 kB / 435.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4699, allocations: 2.344 kB / 435.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4699, allocations: 1.125 kB / 435.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4699, allocations: 1.219 kB / 435.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.4701, allocations: 220.3 kB / 436.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4701, allocations: 1.062 kB / 436.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.4702, allocations: 13.22 kB / 436.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4702, allocations: 5.031 kB / 436.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.4702, allocations: 2.641 kB / 436.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4702, allocations: 1.094 kB / 436.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4702, allocations: 1.156 kB / 436.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.4706, allocations: 250.5 kB / 436.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.4707, allocations: 99.97 kB / 436.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.4707, allocations: 11.61 kB / 436.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.4708, allocations: 7.781 kB / 436.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.4709, allocations: 15.36 kB / 436.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.4709, allocations: 7.844 kB / 436.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.471, allocations: 143.7 kB / 436.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.471, allocations: 1.031 kB / 436.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006822/0.4717, allocations: 124.6 kB / 436.8 MB, free: 5.578 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.001096/0.4728, allocations: 335.4 kB / 437.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.4734, allocations: 179.2 kB / 437.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4734, allocations: 1.156 kB / 437.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.4736, allocations: 58.91 kB / 437.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.4738, allocations: 8.844 kB / 437.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.4744, allocations: 288.1 kB / 437.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.4746, allocations: 0.7179 MB / 438.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.365e-05/0.4747, allocations: 19.05 kB / 438.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.4748, allocations: 21.16 kB / 438.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4748, allocations: 0 / 438.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of Templates: time 0.01033/0.4851, allocations: 3.579 MB / 442 MB, free: 4.277 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/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: 5.358286780305207]