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.001621/0.001621, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002079/0.002079, allocations: 215.3 kB / 23 MB, free: 5.609 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.528/1.528, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.001873/0.001873, allocations: 67.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3184, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003356/0.3218, allocations: 1.554 MB / 431.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.3249, allocations: 1.511 MB / 432.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.858e-05/0.325, allocations: 0 / 432.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.3251, allocations: 11.81 kB / 432.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.3252, allocations: 27.78 kB / 432.9 MB, free: 4.41 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.001292/0.3265, allocations: 394.8 kB / 433.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.3267, allocations: 131.5 kB / 433.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.009e-05/0.3267, allocations: 9.484 kB / 433.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/0.3268, allocations: 59.77 kB / 433.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.3275, allocations: 84.2 kB / 433.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.3275, allocations: 12 kB / 433.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007046/0.3282, allocations: 431.2 kB / 434 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.3283, allocations: 43.91 kB / 434 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.3284, allocations: 59.59 kB / 434.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.329, allocations: 408 kB / 434.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3291, allocations: 7.875 kB / 434.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3291, allocations: 0 / 434.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3291, allocations: 0 / 434.5 MB, free: 2.809 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.001056/0.3301, allocations: 0.5213 MB / 435 MB, free: 2.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.3302, allocations: 8.031 kB / 435 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.3305, allocations: 32.83 kB / 435.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.3308, allocations: 205.8 kB / 435.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3308, allocations: 8.375 kB / 435.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.3308, allocations: 8.375 kB / 435.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.3312, allocations: 136.4 kB / 435.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3312, allocations: 0 / 435.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.3312, allocations: 0 / 435.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3312, allocations: 7.984 kB / 435.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.3314, allocations: 71.89 kB / 435.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.3325, allocations: 0.5477 MB / 436 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.3329, allocations: 139.7 kB / 436.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.333, allocations: 62.61 kB / 436.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.333, allocations: 7.938 kB / 436.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.3334, allocations: 141.9 kB / 436.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.3334, allocations: 4 kB / 436.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006624/0.334, allocations: 257.5 kB / 436.6 MB, free: 456 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.3342, allocations: 118.8 kB / 436.8 MB, free: 312 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.3344, allocations: 195.7 kB / 437 MB, free: 108 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.3344, allocations: 49.69 kB / 437 MB, free: 52 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3346, allocations: 104.6 kB / 437.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.3346, allocations: 51.8 kB / 437.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3347, allocations: 57.69 kB / 437.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3349, allocations: 330.8 kB / 437.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.3352, allocations: 99.94 kB / 437.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.3354, allocations: 140.2 kB / 437.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.3358, allocations: 224.2 kB / 438 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3358, allocations: 0 / 438 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005571/0.3364, allocations: 309.4 kB / 438.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3364, allocations: 4 kB / 438.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3364, allocations: 0 / 438.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3364, allocations: 4 kB / 438.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3366, allocations: 27.97 kB / 438.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3366, allocations: 7.938 kB / 438.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3367, allocations: 31.72 kB / 438.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3367, allocations: 8 kB / 438.4 MB, free: 14.63 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.0001729/0.3369, allocations: 153.8 kB / 438.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.3369, allocations: 15.98 kB / 438.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.337, allocations: 21.39 kB / 438.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.337, allocations: 4 kB / 438.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.337, allocations: 0 / 438.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.337, allocations: 3.938 kB / 438.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3373, allocations: 217.4 kB / 438.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3373, allocations: 4 kB / 438.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.3373, allocations: 11.98 kB / 438.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3373, allocations: 4 kB / 438.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.3373, allocations: 8 kB / 438.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3373, allocations: 0 / 438.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3373, allocations: 0 / 438.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.3378, allocations: 249 kB / 439 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.3378, allocations: 97.02 kB / 439.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.3379, allocations: 11.98 kB / 439.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.338, allocations: 4 kB / 439.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.338, allocations: 15.98 kB / 439.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.338, allocations: 11.92 kB / 439.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3382, allocations: 137.2 kB / 439.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3382, allocations: 0 / 439.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005975/0.3388, allocations: 127.6 kB / 439.4 MB, free: 13.45 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.0009528/0.3397, allocations: 339.8 kB / 439.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005328/0.3403, allocations: 183.7 kB / 440 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3403, allocations: 4 kB / 440 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3404, allocations: 55.91 kB / 440 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.3407, allocations: 11.94 kB / 440 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.3413, allocations: 297.5 kB / 440.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.3417, allocations: 0.72 MB / 441 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.903e-05/0.3418, allocations: 25.39 kB / 441.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.3418, allocations: 19.44 kB / 441.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3418, allocations: 0 / 441.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Templates: time 0.008233/0.3501, allocations: 3.598 MB / 444.7 MB, free: 8.191 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.904500916600227]