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.001682/0.001682, allocations: 110.8 kB / 21.19 MB, free: 0.6602 MB / 14.72 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.00206/0.00206, allocations: 205.2 kB / 24.49 MB, free: 3.957 MB / 14.72 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 1.542/1.542, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001607/0.001607, allocations: 47.94 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2948, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002649/0.2974, allocations: 1.523 MB / 433.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.2999, allocations: 1.407 MB / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.2999, allocations: 0 / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.706e-05/0.3, allocations: 7.875 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.818e-05/0.3001, allocations: 27.73 kB / 435.3 MB, free: 3.73 MB / 334.1 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.001009/0.3011, allocations: 402.8 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3013, allocations: 127.7 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.3013, allocations: 9.625 kB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.3014, allocations: 59.77 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.302, allocations: 84.42 kB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.302, allocations: 8 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.3028, allocations: 459.1 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.3029, allocations: 47.83 kB / 436.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.3029, allocations: 47.67 kB / 436.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.3035, allocations: 413.6 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3035, allocations: 0 / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3035, allocations: 0 / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.3035, allocations: 0 / 436.9 MB, free: 2.109 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.0008323/0.3044, allocations: 451.5 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3044, allocations: 12.02 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.3046, allocations: 28.83 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.3048, allocations: 163.9 kB / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.3048, allocations: 384 / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.3049, allocations: 20.12 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.3051, allocations: 120.2 kB / 437.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3051, allocations: 0 / 437.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3052, allocations: 3.938 kB / 437.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3052, allocations: 4 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.3054, allocations: 67.83 kB / 437.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.3061, allocations: 488.6 kB / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.3065, allocations: 147.7 kB / 438.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.3066, allocations: 58.61 kB / 438.5 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3067, allocations: 0 / 438.5 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.307, allocations: 149.8 kB / 438.6 MB, free: 272 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.307, allocations: 4 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006949/0.3077, allocations: 253.9 kB / 438.9 MB, free: 8 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.3077, allocations: 118.9 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.308, allocations: 199.2 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/0.308, allocations: 49.69 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.3081, allocations: 104.6 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.3082, allocations: 43.69 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.3082, allocations: 61.81 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3084, allocations: 334.8 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.3086, allocations: 99.89 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.3088, allocations: 140.1 kB / 440 MB, free: 14.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3092, allocations: 220.2 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3092, allocations: 4 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005728/0.3098, allocations: 305.4 kB / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3098, allocations: 4 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3098, allocations: 4 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3099, allocations: 3.938 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.31, allocations: 31.92 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.31, allocations: 0 / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.938e-05/0.3101, allocations: 31.92 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3102, allocations: 8 kB / 440.6 MB, free: 14.2 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.0001538/0.3103, allocations: 149.7 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.3104, allocations: 15.91 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3104, allocations: 13.41 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3104, allocations: 3.984 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3104, allocations: 0 / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.3104, allocations: 23.84 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.3105, allocations: 19.92 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.3106, allocations: 8 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.3106, allocations: 15.97 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000603/0.3112, allocations: 427.4 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005552/0.3118, allocations: 0.5234 MB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001583/0.3119, allocations: 60.17 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3121, allocations: 145.2 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Backend: time 4.81e-07/0.3121, allocations: 3.938 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.3136, allocations: 425.8 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007399/0.3143, allocations: 0.6911 MB / 443.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Templates: time 0.008561/0.3229, allocations: 4.011 MB / 447.1 MB, free: 7.652 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.679414163998445]