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.001363/0.001363, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001546/0.001546, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.538/1.538, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.001947/0.001947, allocations: 75.81 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 53.3 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003546/0.3178, allocations: 1.887 MB / 433.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.3205, allocations: 1.337 MB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3206, allocations: 0 / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.3207, allocations: 15.75 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.3209, allocations: 31.67 kB / 435.3 MB, free: 4.082 MB / 334.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.001011/0.3219, allocations: 315.1 kB / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.3222, allocations: 215.5 kB / 435.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.3224, allocations: 52.27 kB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3225, allocations: 103.6 kB / 436 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006842/0.3232, allocations: 129.1 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.3233, allocations: 24 kB / 436.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005386/0.3238, allocations: 291.5 kB / 436.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.3239, allocations: 55.81 kB / 436.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.324, allocations: 107.4 kB / 436.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.3246, allocations: 388.1 kB / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3246, allocations: 0 / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3246, allocations: 0 / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3246, allocations: 0 / 437 MB, free: 2.445 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001193/0.3258, allocations: 0.5812 MB / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3258, allocations: 15.95 kB / 437.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.326, allocations: 36.8 kB / 437.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.3263, allocations: 240.9 kB / 437.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.3264, allocations: 20.66 kB / 437.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.3264, allocations: 20.12 kB / 437.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.3269, allocations: 195.3 kB / 438.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3269, allocations: 4 kB / 438.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.327, allocations: 11.98 kB / 438.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.327, allocations: 4 kB / 438.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.3275, allocations: 153.2 kB / 438.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3286, allocations: 0.579 MB / 438.8 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.3297, allocations: 302.5 kB / 439.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.33, allocations: 104.8 kB / 439.2 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.33, allocations: 3.984 kB / 439.2 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/0.3305, allocations: 163.3 kB / 439.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.3305, allocations: 0 / 439.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001086/0.3316, allocations: 364.4 kB / 439.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.3316, allocations: 59.41 kB / 439.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.3319, allocations: 222.7 kB / 440 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.3319, allocations: 37.7 kB / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.332, allocations: 132.6 kB / 440.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.3321, allocations: 75.42 kB / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3322, allocations: 69.58 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3324, allocations: 338.8 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.3328, allocations: 131.9 kB / 440.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.3332, allocations: 161.7 kB / 440.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.3339, allocations: 271.2 kB / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3339, allocations: 0 / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008858/0.3347, allocations: 375.9 kB / 441.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3348, allocations: 8.031 kB / 441.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3348, allocations: 4 kB / 441.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3348, allocations: 0 / 441.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.3351, allocations: 71.88 kB / 441.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3351, allocations: 4 kB / 441.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.3353, allocations: 43.77 kB / 441.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.3354, allocations: 15.98 kB / 441.7 MB, free: 13.47 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.0001903/0.3356, allocations: 146.2 kB / 441.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.3356, allocations: 23.84 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/0.3357, allocations: 21.88 kB / 441.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3357, allocations: 7.938 kB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3357, allocations: 0 / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3357, allocations: 0 / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.3369, allocations: 0.6152 MB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3369, allocations: 0 / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3371, allocations: 43.89 kB / 442.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3371, allocations: 8 kB / 442.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3371, allocations: 7.984 kB / 442.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3372, allocations: 0 / 442.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3372, allocations: 4 kB / 442.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.3383, allocations: 479.1 kB / 443.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.3383, allocations: 104.8 kB / 443.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.3384, allocations: 15.98 kB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3386, allocations: 19.92 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.3386, allocations: 19.97 kB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3386, allocations: 4 kB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.3388, allocations: 156.7 kB / 443.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3388, allocations: 0 / 443.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004665/0.3393, allocations: 103.7 kB / 443.5 MB, free: 11.61 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.000704/0.34, allocations: 268.3 kB / 443.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.3408, allocations: 263.8 kB / 444 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3408, allocations: 0 / 444 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.3411, allocations: 107.8 kB / 444.1 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.3415, allocations: 39.92 kB / 444.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.3426, allocations: 491.5 kB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.343, allocations: 0.7436 MB / 445.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.343, allocations: 31.42 kB / 445.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.343, allocations: 0 / 445.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of Templates: time 0.00756/0.3506, allocations: 4.157 MB / 449.5 MB, free: 5.504 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: 11.070533311925828]