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.001036/0.001036, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001059/0.001059, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9863/0.9863, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.992e-05, allocations: 6.25 kB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.00315/0.00318, allocations: 1.573 MB / 275 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.005847, allocations: 1.403 MB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.206e-05/0.005939, allocations: 0 / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.759e-05/0.006007, allocations: 19.8 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.006095, allocations: 27.73 kB / 276.4 MB, free: 14.23 MB / 266.7 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.001281/0.007375, allocations: 406.5 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.007546, allocations: 139.5 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.00758, allocations: 5.688 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.007678, allocations: 75.8 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.008113, allocations: 90.8 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.008152, allocations: 16 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007785/0.00893, allocations: 442.9 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.008978, allocations: 35.84 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.009022, allocations: 39.84 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000727/0.009749, allocations: 430.7 kB / 278.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.009754, allocations: 4 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009755, allocations: 0 / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.009759, allocations: 0 / 278.1 MB, free: 12.59 MB / 266.7 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.000662/0.01042, allocations: 0.5381 MB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.01046, allocations: 8.031 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.01066, allocations: 40.81 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.0108, allocations: 170.6 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.01082, allocations: 8.375 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.01083, allocations: 4.375 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.01098, allocations: 104.3 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.01099, allocations: 3.938 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.01099, allocations: 4 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.011, allocations: 7.938 kB / 279 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/0.01104, allocations: 15.98 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.01155, allocations: 0.5802 MB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.01169, allocations: 105.2 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.01174, allocations: 43.11 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.01175, allocations: 7.938 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.0119, allocations: 128 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.0119, allocations: 0 / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002631/0.01216, allocations: 157.5 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.01222, allocations: 118.7 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.01238, allocations: 238.6 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.01242, allocations: 53.67 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.0125, allocations: 155.3 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.01254, allocations: 47.66 kB / 280.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.01263, allocations: 67.33 kB / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.0128, allocations: 0.504 MB / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.01287, allocations: 35.97 kB / 281.2 MB, free: 9.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.315e-05/0.01296, allocations: 74.64 kB / 281.3 MB, free: 9.109 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.01311, allocations: 119.3 kB / 281.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01311, allocations: 3.938 kB / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002542/0.01337, allocations: 181.4 kB / 281.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.01338, allocations: 4 kB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.01338, allocations: 0 / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.01339, allocations: 4 kB / 281.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01353, allocations: 48.06 kB / 281.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01353, allocations: 4 kB / 281.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.0136, allocations: 31.78 kB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.01361, allocations: 4 kB / 281.6 MB, free: 8.695 MB / 266.7 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,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,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.0001131/0.01373, allocations: 184.5 kB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.01376, allocations: 15.91 kB / 281.8 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.01378, allocations: 17.45 kB / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.01378, allocations: 4 kB / 281.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01379, allocations: 3.938 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01379, allocations: 4 kB / 281.9 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.01393, allocations: 133.2 kB / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01393, allocations: 0 / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.01395, allocations: 11.98 kB / 282 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.01396, allocations: 3.938 kB / 282 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01396, allocations: 4 kB / 282 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01397, allocations: 0 / 282 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.01397, allocations: 0 / 282 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.01417, allocations: 195.5 kB / 282.2 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.0142, allocations: 27.78 kB / 282.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.01423, allocations: 12.08 kB / 282.3 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.01427, allocations: 4 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.01431, allocations: 15.97 kB / 282.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.01432, allocations: 7.984 kB / 282.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.01441, allocations: 173 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01441, allocations: 0 / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004834/0.01489, allocations: 123.6 kB / 282.6 MB, free: 7.707 MB / 266.7 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.0006499/0.01554, allocations: 356.3 kB / 282.9 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.01572, allocations: 100.4 kB / 283 MB, free: 7.281 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01572, allocations: 4.062 kB / 283 MB, free: 7.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.01577, allocations: 39.69 kB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01596, allocations: 19.92 kB / 283.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.01632, allocations: 280 kB / 283.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.01636, allocations: 67.84 kB / 283.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.01641, allocations: 17.47 kB / 283.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.01649, allocations: 94.2 kB / 283.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01649, allocations: 0 / 283.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of Templates: time 0.007916/0.0244, allocations: 4.239 MB / 287.8 MB, free: 2.5 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.931984390132129]