Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001756/0.001756, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002158/0.002158, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.502/1.502, allocations: 230.5 MB / 257.4 MB, free: 7.75 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 59.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2809, allocations: 53.41 MB / 431.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003695/0.2846, allocations: 1.809 MB / 433 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.2872, allocations: 1.247 MB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2873, allocations: 0 / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2875, allocations: 19.75 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2876, allocations: 27.67 kB / 434.3 MB, free: 3.34 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.001055/0.2887, allocations: 327.1 kB / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.289, allocations: 219.5 kB / 434.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.2892, allocations: 52.34 kB / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2893, allocations: 99.55 kB / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006307/0.2899, allocations: 110.6 kB / 435 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.29, allocations: 27.88 kB / 435.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.2905, allocations: 315.4 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.2906, allocations: 59.83 kB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.2907, allocations: 87.56 kB / 435.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.2913, allocations: 388.4 kB / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2913, allocations: 0 / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2914, allocations: 0 / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.2914, allocations: 0 / 435.9 MB, free: 1.691 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.00123/0.2926, allocations: 0.5058 MB / 436.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.2926, allocations: 15.98 kB / 436.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.5e-05/0.2927, allocations: 62.66 kB / 436.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.293, allocations: 32.8 kB / 436.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.2932, allocations: 182.2 kB / 436.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2933, allocations: 12.38 kB / 436.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.2933, allocations: 24.33 kB / 436.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.2939, allocations: 211.4 kB / 436.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2939, allocations: 0 / 436.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.2939, allocations: 15.88 kB / 437 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2939, allocations: 4 kB / 437 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.2944, allocations: 160.1 kB / 437.1 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.2956, allocations: 0.5038 MB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.2967, allocations: 298.6 kB / 437.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.297, allocations: 104.8 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.297, allocations: 7.938 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.2975, allocations: 169.7 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.715e-06/0.2975, allocations: 0 / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001096/0.2986, allocations: 357.2 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.2986, allocations: 63.41 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.2989, allocations: 218.7 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.2989, allocations: 41.7 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.299, allocations: 128.6 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.2991, allocations: 79.38 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.2992, allocations: 61.69 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.2994, allocations: 338.8 kB / 439.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.2998, allocations: 135.9 kB / 439.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.3002, allocations: 157.6 kB / 439.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.3009, allocations: 275.1 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3009, allocations: 0 / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008865/0.3018, allocations: 378.6 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3018, allocations: 8 kB / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3018, allocations: 3.938 kB / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3018, allocations: 0 / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.3021, allocations: 75.88 kB / 440.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3021, allocations: 3.938 kB / 440.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.3023, allocations: 39.83 kB / 440.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.3024, allocations: 15.98 kB / 440.5 MB, free: 12.88 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.0001647/0.3025, allocations: 146.2 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.3026, allocations: 23.84 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.3026, allocations: 21.97 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3026, allocations: 0 / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3026, allocations: 4 kB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3026, allocations: 3.984 kB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.3037, allocations: 0.5714 MB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3037, allocations: 3.984 kB / 441.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.304, allocations: 43.89 kB / 441.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.304, allocations: 4 kB / 441.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.304, allocations: 11.98 kB / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.304, allocations: 0 / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.304, allocations: 3.938 kB / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.3051, allocations: 482.7 kB / 441.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.3052, allocations: 23.8 kB / 441.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.3052, allocations: 15.98 kB / 441.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3054, allocations: 23.97 kB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.3054, allocations: 7.984 kB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3055, allocations: 7.984 kB / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.3056, allocations: 160.9 kB / 442.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3056, allocations: 0 / 442.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.3061, allocations: 103.7 kB / 442.2 MB, free: 11.16 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.001986/0.3081, allocations: 1.169 MB / 443.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007867/0.3088, allocations: 268.2 kB / 443.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3088, allocations: 0 / 443.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.3092, allocations: 115.8 kB / 443.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.3095, allocations: 34.69 kB / 443.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.3141, allocations: 2.817 MB / 446.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.3142, allocations: 133.2 kB / 446.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.3144, allocations: 25.94 kB / 446.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3145, allocations: 75.41 kB / 446.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of SimCode: time 1.462e-06/0.3145, allocations: 3.938 kB / 446.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2672/0.5817, allocations: 6.777 MB / 453.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.74, allocations: 7.797 kB / 453.6 MB, free: 15.77 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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: 16.939882687292993]