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.001557/0.001557, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00174/0.00174, allocations: 203.9 kB / 23.72 MB, free: 4.391 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.575/1.575, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.00213/0.00213, allocations: 67.89 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3019, allocations: 53.4 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003067/0.305, allocations: 1.527 MB / 433.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.3078, allocations: 1.391 MB / 434.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.3079, allocations: 0 / 434.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.308, allocations: 15.81 kB / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.3081, allocations: 27.78 kB / 434.6 MB, free: 3.543 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.001156/0.3093, allocations: 398.8 kB / 435 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.3095, allocations: 135.5 kB / 435.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.522e-05/0.3096, allocations: 9.484 kB / 435.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.3096, allocations: 59.7 kB / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000692/0.3103, allocations: 81.42 kB / 435.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.3104, allocations: 12 kB / 435.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007823/0.3111, allocations: 435.1 kB / 435.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.674e-05/0.3112, allocations: 43.89 kB / 435.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.3113, allocations: 43.73 kB / 435.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006845/0.312, allocations: 417 kB / 436.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.312, allocations: 3.938 kB / 436.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.312, allocations: 0 / 436.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.312, allocations: 0 / 436.2 MB, free: 1.945 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.0009678/0.313, allocations: 456.8 kB / 436.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.313, allocations: 11.98 kB / 436.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.3133, allocations: 32.81 kB / 436.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3135, allocations: 155.7 kB / 436.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3135, allocations: 4.375 kB / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3135, allocations: 12.38 kB / 436.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.3138, allocations: 130.6 kB / 437 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3138, allocations: 0 / 437 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3138, allocations: 0 / 437 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3139, allocations: 8 kB / 437 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.3142, allocations: 63.89 kB / 437 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.315, allocations: 476.7 kB / 437.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.3154, allocations: 151.6 kB / 437.7 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3155, allocations: 62.59 kB / 437.7 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.3155, allocations: 7.938 kB / 437.7 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.3158, allocations: 145.9 kB / 437.9 MB, free: 100 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.3158, allocations: 0 / 437.9 MB, free: 100 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006584/0.3165, allocations: 253.5 kB / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.3165, allocations: 122.9 kB / 438.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.3168, allocations: 199.2 kB / 438.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.3168, allocations: 45.7 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.3169, allocations: 108.5 kB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.317, allocations: 47.62 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.3171, allocations: 57.69 kB / 438.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3172, allocations: 330.8 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.3174, allocations: 95.95 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.3177, allocations: 139.4 kB / 439.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.3181, allocations: 231.7 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3181, allocations: 0 / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005854/0.3187, allocations: 309.3 kB / 439.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3187, allocations: 8.094 kB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3187, allocations: 0 / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3188, allocations: 4 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.319, allocations: 27.98 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.319, allocations: 7.875 kB / 439.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/0.3191, allocations: 27.83 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.3191, allocations: 8 kB / 439.9 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.0001767/0.3193, allocations: 145.8 kB / 440 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3193, allocations: 19.91 kB / 440 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.3193, allocations: 13.41 kB / 440 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3193, allocations: 3.938 kB / 440 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3193, allocations: 3.984 kB / 440 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3194, allocations: 4 kB / 440 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3196, allocations: 153.1 kB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3196, allocations: 0 / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.3196, allocations: 8 kB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3196, allocations: 7.938 kB / 440.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.3196, allocations: 3.984 kB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.3196, allocations: 8 kB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3196, allocations: 0 / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.3201, allocations: 246.4 kB / 440.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.3201, allocations: 23.89 kB / 440.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.3202, allocations: 8.094 kB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.3202, allocations: 7.984 kB / 440.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.3203, allocations: 15.97 kB / 440.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3203, allocations: 4 kB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.3205, allocations: 145.1 kB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3205, allocations: 4 kB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005023/0.321, allocations: 127.6 kB / 440.8 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.0008844/0.3219, allocations: 334 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.3223, allocations: 187 kB / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3223, allocations: 4 kB / 441.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.3225, allocations: 56.25 kB / 441.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.3227, allocations: 23.06 kB / 441.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.3233, allocations: 285 kB / 441.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3234, allocations: 106.4 kB / 441.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.443e-05/0.3235, allocations: 17.42 kB / 441.8 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.3235, allocations: 23.44 kB / 441.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3235, allocations: 0 / 441.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Templates: time 0.008834/0.3324, allocations: 3.718 MB / 445.5 MB, free: 8.285 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: 4.827815879136324]