Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001291/0.001291, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001374/0.001374, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 230.4 MB / 255.4 MB, free: 14.95 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-beta.om/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.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 374.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.1009, allocations: 53.31 MB / 428.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003248/0.1042, allocations: 1.873 MB / 429.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1064, allocations: 1.313 MB / 431.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.1065, allocations: 4 kB / 431.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.1066, allocations: 19.73 kB / 431.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.1068, allocations: 35.66 kB / 431.3 MB, free: 1.051 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0008505/0.1076, allocations: 307.1 kB / 431.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1079, allocations: 215.5 kB / 431.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.1081, allocations: 60.25 kB / 431.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1082, allocations: 95.56 kB / 432 MB, free: 396 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000579/0.1088, allocations: 126 kB / 432.1 MB, free: 272 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.1088, allocations: 20 kB / 432.1 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1853/0.2941, allocations: 291.2 kB / 432.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.2942, allocations: 56.12 kB / 432.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.2944, allocations: 103 kB / 432.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007657/0.2951, allocations: 388.3 kB / 432.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2951, allocations: 0 / 432.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2951, allocations: 0 / 432.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2951, allocations: 4.906 kB / 432.9 MB, free: 8.332 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00102/0.2962, allocations: 0.5796 MB / 433.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2962, allocations: 12.34 kB / 433.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.2964, allocations: 38.64 kB / 433.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.2966, allocations: 241 kB / 433.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.2967, allocations: 16.78 kB / 433.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.2967, allocations: 20.72 kB / 433.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.2972, allocations: 199.8 kB / 434 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2972, allocations: 0.5 kB / 434 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.2972, allocations: 6.938 kB / 434 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2972, allocations: 10.19 kB / 434.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.2977, allocations: 158.3 kB / 434.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009133/0.2986, allocations: 0.5763 MB / 434.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.2996, allocations: 293.4 kB / 435.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.2999, allocations: 109.2 kB / 435.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3, allocations: 3.562 kB / 435.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003774/0.3003, allocations: 168.3 kB / 435.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.3003, allocations: 1.688 kB / 435.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009875/0.3013, allocations: 354.5 kB / 435.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.3014, allocations: 61.53 kB / 435.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3015, allocations: 221.8 kB / 436 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3016, allocations: 38.17 kB / 436 MB, free: 6.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.3016, allocations: 131.1 kB / 436.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.3017, allocations: 75.8 kB / 436.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3018, allocations: 75.53 kB / 436.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.3018, allocations: 334.9 kB / 436.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.3022, allocations: 129.7 kB / 436.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.3026, allocations: 168.8 kB / 436.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.3032, allocations: 259.7 kB / 437.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3032, allocations: 7.938 kB / 437.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008312/0.304, allocations: 376.5 kB / 437.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.304, allocations: 6.875 kB / 437.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.304, allocations: 0.7031 kB / 437.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3041, allocations: 4.891 kB / 437.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3044, allocations: 73.94 kB / 437.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3044, allocations: 7.938 kB / 437.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3045, allocations: 38.2 kB / 437.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.3046, allocations: 15.97 kB / 437.7 MB, free: 6.395 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001118/0.3047, allocations: 149.1 kB / 437.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.3047, allocations: 19.89 kB / 437.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.3048, allocations: 23.92 kB / 437.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3048, allocations: 2.438 kB / 437.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3048, allocations: 0 / 437.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3048, allocations: 2.469 kB / 437.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.3058, allocations: 0.6177 MB / 438.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3058, allocations: 0 / 438.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.306, allocations: 44.33 kB / 438.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3061, allocations: 1.531 kB / 438.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.3061, allocations: 7.719 kB / 438.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3061, allocations: 1.797 kB / 438.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3061, allocations: 4.688 kB / 438.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3071, allocations: 488.9 kB / 439 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.3071, allocations: 100.4 kB / 439.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.3072, allocations: 9.719 kB / 439.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3074, allocations: 25.97 kB / 439.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.3074, allocations: 19 kB / 439.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3075, allocations: 6.984 kB / 439.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3076, allocations: 156.8 kB / 439.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3076, allocations: 0 / 439.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000426/0.308, allocations: 101.9 kB / 439.4 MB, free: 5.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006044/0.3086, allocations: 272.2 kB / 439.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007692/0.3094, allocations: 269.7 kB / 440 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3094, allocations: 0 / 440 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.3097, allocations: 105.9 kB / 440.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.31, allocations: 26.66 kB / 440.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.3109, allocations: 0.4917 MB / 440.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.3111, allocations: 0.7363 MB / 441.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.3112, allocations: 31.03 kB / 441.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3112, allocations: 1.156 kB / 441.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of Templates: time 0.007488/0.3187, allocations: 4.14 MB / 445.5 MB, free: 4.094 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.992774211801589]