Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008587, allocations: 96.75 kB / 17.31 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000947/0.0009471, allocations: 178.9 kB / 18.21 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 223.3 MB / 242.3 MB, free: 4 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002279/0.000228, allocations: 7.938 kB / 302.1 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07094/0.07119, allocations: 50.41 MB / 352.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00168/0.07288, allocations: 1.566 MB / 354.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.07476, allocations: 1.251 MB / 355.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.07485, allocations: 4 kB / 355.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.174e-05/0.07494, allocations: 7.875 kB / 355.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.07503, allocations: 27.84 kB / 355.4 MB, free: 0.7812 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006792/0.07572, allocations: 247.5 kB / 355.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.07592, allocations: 207.4 kB / 355.8 MB, free: 344 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.07606, allocations: 64.12 kB / 355.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.07616, allocations: 75.69 kB / 355.9 MB, free: 204 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.07662, allocations: 103.5 kB / 356 MB, free: 100 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.07667, allocations: 12 kB / 356 MB, free: 88 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.07711, allocations: 287.5 kB / 356.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.07718, allocations: 51.77 kB / 356.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.07727, allocations: 105.2 kB / 356.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.07758, allocations: 267.7 kB / 356.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.07759, allocations: 0 / 356.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.07759, allocations: 0 / 356.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.0776, allocations: 0 / 356.7 MB, free: 15.38 MB / 302.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.0009533/0.07856, allocations: 0.5649 MB / 357.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.0786, allocations: 12.03 kB / 357.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.0788, allocations: 32.64 kB / 357.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.07903, allocations: 237.6 kB / 357.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.07907, allocations: 24.2 kB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.07912, allocations: 20 kB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.07961, allocations: 218.8 kB / 357.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.07963, allocations: 0 / 357.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.07965, allocations: 7.984 kB / 357.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.07967, allocations: 4 kB / 357.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.08015, allocations: 180.4 kB / 358 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.08112, allocations: 0.5823 MB / 358.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.08225, allocations: 378.6 kB / 359 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.08259, allocations: 136.8 kB / 359.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.08262, allocations: 4.062 kB / 359.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.08303, allocations: 189.9 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.08304, allocations: 0 / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001042/0.08409, allocations: 408 kB / 359.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.08414, allocations: 67.39 kB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.08433, allocations: 207.8 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.08437, allocations: 37.7 kB / 360 MB, free: 11.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.08445, allocations: 132.5 kB / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.08452, allocations: 74.92 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.08458, allocations: 37.7 kB / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.08468, allocations: 342.8 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.08505, allocations: 147.9 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.08544, allocations: 182.2 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.08611, allocations: 308.6 kB / 361.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.08613, allocations: 0 / 361.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008542/0.08699, allocations: 415.1 kB / 361.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.08701, allocations: 4 kB / 361.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.08702, allocations: 0 / 361.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.08704, allocations: 0 / 361.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.08735, allocations: 79.89 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.08737, allocations: 0 / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.08755, allocations: 51.72 kB / 361.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.08759, allocations: 19.88 kB / 361.8 MB, free: 10.13 MB / 302.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.00013/0.08772, allocations: 145.6 kB / 361.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.08776, allocations: 23.72 kB / 361.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.08783, allocations: 25.86 kB / 362 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.08784, allocations: 0 / 362 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.08785, allocations: 4 kB / 362 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.08785, allocations: 0 / 362 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.08899, allocations: 0.6776 MB / 362.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.08901, allocations: 4 kB / 362.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.08927, allocations: 55.95 kB / 362.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.08929, allocations: 0 / 362.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.08931, allocations: 4 kB / 362.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.08932, allocations: 0 / 362.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.08932, allocations: 0 / 362.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.0904, allocations: 0.5484 MB / 363.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.09047, allocations: 96.86 kB / 363.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.09051, allocations: 8.062 kB / 363.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.09072, allocations: 35.97 kB / 363.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.09077, allocations: 11.97 kB / 363.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.09079, allocations: 4 kB / 363.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.09091, allocations: 155.2 kB / 363.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09092, allocations: 0 / 363.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.0913, allocations: 103.9 kB / 363.6 MB, free: 8.141 MB / 302.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 (18): * Single equations (assignments): 16 * 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.0005214/0.09183, allocations: 263.7 kB / 363.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000768/0.09261, allocations: 331.7 kB / 364.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.09262, allocations: 0 / 364.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.09296, allocations: 135.9 kB / 364.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.09329, allocations: 19.98 kB / 364.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.09413, allocations: 0.5633 MB / 364.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.09438, allocations: 0.7359 MB / 365.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.09448, allocations: 31.42 kB / 365.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09449, allocations: 0 / 365.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of Templates: time 0.005972/0.1005, allocations: 4.017 MB / 369.7 MB, free: 2.023 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches