Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.001563/0.001563, allocations: 187.1 kB / 18.67 MB, free: 4.434 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.527/1.527, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 47.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2835, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003424/0.2869, allocations: 1.848 MB / 403.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.2889, allocations: 0.9742 MB / 404.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.2891, allocations: 0 / 404.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.2892, allocations: 23.73 kB / 404.3 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.2895, allocations: 31.72 kB / 404.3 MB, free: 5.992 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.0007146/0.2902, allocations: 191.4 kB / 404.5 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.2906, allocations: 215.5 kB / 404.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.2908, allocations: 68.27 kB / 404.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.2909, allocations: 99.61 kB / 404.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006183/0.2916, allocations: 122.9 kB / 405 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.2916, allocations: 20 kB / 405 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.2919, allocations: 123.8 kB / 405.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.292, allocations: 59.81 kB / 405.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.2921, allocations: 99.39 kB / 405.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.2925, allocations: 296.5 kB / 405.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.2925, allocations: 4 kB / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2925, allocations: 4 kB / 405.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2925, allocations: 0 / 405.6 MB, free: 4.715 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.00113/0.2937, allocations: 0.5464 MB / 406.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2937, allocations: 15.89 kB / 406.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.294, allocations: 40.64 kB / 406.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.2942, allocations: 240.5 kB / 406.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.2943, allocations: 12.28 kB / 406.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.2943, allocations: 23.91 kB / 406.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.2948, allocations: 196.4 kB / 406.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2948, allocations: 0 / 406.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.2948, allocations: 8 kB / 406.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.2949, allocations: 4 kB / 406.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.2953, allocations: 152.2 kB / 406.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2964, allocations: 0.5707 MB / 407.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.2974, allocations: 306.6 kB / 407.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.2978, allocations: 120.8 kB / 407.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2978, allocations: 3.938 kB / 407.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/0.2982, allocations: 167.5 kB / 407.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.2982, allocations: 0 / 407.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009913/0.2992, allocations: 367.3 kB / 408.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.2993, allocations: 55.41 kB / 408.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.2995, allocations: 219.7 kB / 408.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.2995, allocations: 41.62 kB / 408.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.2996, allocations: 124.7 kB / 408.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.2997, allocations: 75 kB / 408.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2998, allocations: 65.69 kB / 408.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3, allocations: 338.8 kB / 409.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.3003, allocations: 131.9 kB / 409.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.3007, allocations: 158.2 kB / 409.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.3014, allocations: 268.6 kB / 409.8 MB, free: 316 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3014, allocations: 0 / 409.8 MB, free: 316 kB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008322/0.3022, allocations: 375.2 kB / 410.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3022, allocations: 4 kB / 410.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3023, allocations: 4 kB / 410.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3023, allocations: 0 / 410.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.3026, allocations: 67.89 kB / 410.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.3026, allocations: 4 kB / 410.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.3028, allocations: 51.59 kB / 410.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.3028, allocations: 8 kB / 410.3 MB, free: 15.8 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.0001615/0.303, allocations: 141.8 kB / 410.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.303, allocations: 19.72 kB / 410.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.3031, allocations: 29.8 kB / 410.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3031, allocations: 0 / 410.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3031, allocations: 4 kB / 410.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3031, allocations: 11.94 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.3043, allocations: 0.6269 MB / 411.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3043, allocations: 4 kB / 411.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.3046, allocations: 43.89 kB / 411.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3046, allocations: 0 / 411.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.3046, allocations: 11.98 kB / 411.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3046, allocations: 0 / 411.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3046, allocations: 0 / 411.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3057, allocations: 490.2 kB / 411.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.3058, allocations: 96.77 kB / 411.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.3058, allocations: 16.05 kB / 411.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.306, allocations: 15.98 kB / 411.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.3061, allocations: 19.97 kB / 411.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3061, allocations: 4 kB / 411.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.3062, allocations: 147.2 kB / 411.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3062, allocations: 0 / 411.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.3066, allocations: 63.98 kB / 412 MB, free: 13.97 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.0004482/0.3071, allocations: 194.3 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007653/0.3078, allocations: 287.8 kB / 412.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3079, allocations: 0 / 412.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.3082, allocations: 115.9 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3085, allocations: 36 kB / 412.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009441/0.3095, allocations: 484.2 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3099, allocations: 0.7437 MB / 413.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.31, allocations: 31.36 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.31, allocations: 0 / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Templates: time 0.006389/0.3164, allocations: 3.373 MB / 417.2 MB, free: 8.688 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches