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.001278/0.001278, allocations: 108.4 kB / 17.74 MB, free: 5.34 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.001262/0.001262, allocations: 187 kB / 18.67 MB, free: 4.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.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 51.91 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2746, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002962/0.2776, allocations: 1.852 MB / 403.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.2798, allocations: 1.247 MB / 404.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.28, allocations: 0 / 404.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.2801, allocations: 27.67 kB / 404.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.403e-05/0.2802, allocations: 23.73 kB / 404.6 MB, free: 5.688 MB / 318.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.000907/0.2811, allocations: 311.2 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.2814, allocations: 223.4 kB / 405.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2816, allocations: 60.28 kB / 405.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.2817, allocations: 95.61 kB / 405.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005108/0.2822, allocations: 119.5 kB / 405.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.2823, allocations: 20 kB / 405.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.2827, allocations: 275.5 kB / 405.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.2828, allocations: 63.81 kB / 405.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.2829, allocations: 95.47 kB / 405.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.2834, allocations: 392.3 kB / 406.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2834, allocations: 0 / 406.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2835, allocations: 0 / 406.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2835, allocations: 0 / 406.2 MB, free: 4.062 MB / 318.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.001076/0.2845, allocations: 0.5699 MB / 406.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2846, allocations: 8.031 kB / 406.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.2848, allocations: 36.64 kB / 406.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.2851, allocations: 241.3 kB / 407 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2851, allocations: 12.28 kB / 407 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.2852, allocations: 31.83 kB / 407.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.2857, allocations: 199.6 kB / 407.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2857, allocations: 3.938 kB / 407.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.2857, allocations: 4 kB / 407.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2857, allocations: 8 kB / 407.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.2862, allocations: 156.1 kB / 407.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.2872, allocations: 0.5707 MB / 408 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2882, allocations: 305.2 kB / 408.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.2885, allocations: 116.8 kB / 408.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2885, allocations: 4 kB / 408.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.2889, allocations: 172.7 kB / 408.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.2889, allocations: 0 / 408.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.000977/0.2899, allocations: 355.2 kB / 408.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.29, allocations: 59.34 kB / 409 MB, free: 1.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2902, allocations: 207.8 kB / 409.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2902, allocations: 45.69 kB / 409.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.2903, allocations: 128.6 kB / 409.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.2904, allocations: 71 kB / 409.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.2905, allocations: 65.69 kB / 409.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2906, allocations: 342.8 kB / 409.8 MB, free: 196 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.2909, allocations: 127.9 kB / 410 MB, free: 68 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.2913, allocations: 154.3 kB / 410.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.2919, allocations: 268.6 kB / 410.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.2919, allocations: 0 / 410.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007729/0.2927, allocations: 379.1 kB / 410.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2927, allocations: 8 kB / 410.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2927, allocations: 0 / 410.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2928, allocations: 3.984 kB / 410.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.2931, allocations: 75.86 kB / 410.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2931, allocations: 3.984 kB / 410.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2932, allocations: 43.61 kB / 410.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.2933, allocations: 15.98 kB / 410.9 MB, free: 15.12 MB / 334.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.0001474/0.2934, allocations: 137.6 kB / 411 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.2935, allocations: 19.72 kB / 411 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.663e-05/0.2935, allocations: 29.86 kB / 411.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2936, allocations: 4 kB / 411.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2936, allocations: 0 / 411.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2936, allocations: 3.938 kB / 411.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.2947, allocations: 0.6385 MB / 411.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2947, allocations: 0 / 411.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.2949, allocations: 47.89 kB / 411.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2949, allocations: 4 kB / 411.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.295, allocations: 0 / 411.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.295, allocations: 0 / 411.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.295, allocations: 4 kB / 411.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009818/0.296, allocations: 494 kB / 412.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.2961, allocations: 96.77 kB / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.2961, allocations: 12.17 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.2963, allocations: 23.98 kB / 412.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.2964, allocations: 15.97 kB / 412.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2964, allocations: 4 kB / 412.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.2965, allocations: 147.2 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2965, allocations: 4 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.2969, allocations: 99.98 kB / 412.7 MB, free: 13.26 MB / 334.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.0005911/0.2975, allocations: 265.6 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007357/0.2983, allocations: 283.8 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2983, allocations: 4.062 kB / 413.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.2986, allocations: 119.8 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.2989, allocations: 19.98 kB / 413.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/0.2998, allocations: 491 kB / 413.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3002, allocations: 0.7359 MB / 414.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.429e-05/0.3003, allocations: 27.44 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3003, allocations: 3.938 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of Templates: time 0.006665/0.3069, allocations: 4.107 MB / 418.7 MB, free: 7.188 MB / 334.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