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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 111.7 kB / 17.06 MB, free: 5.988 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.00122/0.00122, allocations: 195.9 kB / 18 MB, free: 5.074 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.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 39.94 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2753, allocations: 49.43 MB / 400.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003471/0.2788, allocations: 1.846 MB / 402.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2807, allocations: 0.9807 MB / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2809, allocations: 4 kB / 403.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.281, allocations: 19.73 kB / 403.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.2812, allocations: 31.72 kB / 403.1 MB, free: 5.898 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.0006321/0.2819, allocations: 179.5 kB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.2821, allocations: 219.5 kB / 403.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.2823, allocations: 64.27 kB / 403.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.2825, allocations: 99.61 kB / 403.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.2831, allocations: 119.4 kB / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.2831, allocations: 20 kB / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.2834, allocations: 123.9 kB / 403.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.2835, allocations: 59.75 kB / 404 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.2836, allocations: 111.4 kB / 404.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.284, allocations: 286 kB / 404.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.284, allocations: 0 / 404.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2841, allocations: 0 / 404.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2841, allocations: 0 / 404.4 MB, free: 4.641 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.00114/0.2852, allocations: 0.5696 MB / 405 MB, free: 4.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2853, allocations: 8.031 kB / 405 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.976e-05/0.2853, allocations: 54.72 kB / 405 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.2855, allocations: 28.8 kB / 405 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.2858, allocations: 249.2 kB / 405.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.2859, allocations: 16 kB / 405.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.2859, allocations: 27.98 kB / 405.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.2864, allocations: 210.2 kB / 405.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2865, allocations: 0 / 405.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.2865, allocations: 7.938 kB / 405.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2865, allocations: 4 kB / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.287, allocations: 160.1 kB / 405.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2881, allocations: 0.5826 MB / 406.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.2892, allocations: 308.6 kB / 406.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.2895, allocations: 112.8 kB / 406.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2895, allocations: 0 / 406.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004276/0.29, allocations: 174.9 kB / 406.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.29, allocations: 0 / 406.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001064/0.2911, allocations: 363.4 kB / 407.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.2911, allocations: 63.39 kB / 407.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.2914, allocations: 207.8 kB / 407.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-05/0.2914, allocations: 33.7 kB / 407.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.2916, allocations: 140.6 kB / 407.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.2916, allocations: 79.44 kB / 407.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2918, allocations: 61.69 kB / 407.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2919, allocations: 338.8 kB / 408.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.2923, allocations: 131.9 kB / 408.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.2927, allocations: 165.9 kB / 408.4 MB, free: 384 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.2934, allocations: 260.6 kB / 408.7 MB, free: 120 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2934, allocations: 0 / 408.7 MB, free: 120 kB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008833/0.2943, allocations: 373.3 kB / 409 MB, free: 15.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2943, allocations: 8 kB / 409 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2943, allocations: 0 / 409 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2943, allocations: 0 / 409 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.2947, allocations: 79.91 kB / 409.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2947, allocations: 3.938 kB / 409.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.2949, allocations: 39.77 kB / 409.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.2949, allocations: 15.98 kB / 409.2 MB, free: 15.6 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.0001722/0.2951, allocations: 133.8 kB / 409.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.2951, allocations: 23.86 kB / 409.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.2952, allocations: 25.86 kB / 409.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2952, allocations: 4 kB / 409.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2952, allocations: 3.938 kB / 409.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2952, allocations: 0 / 409.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.2965, allocations: 0.6308 MB / 410 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2965, allocations: 0 / 410 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.2968, allocations: 47.95 kB / 410 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2968, allocations: 3.938 kB / 410 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.2968, allocations: 0 / 410 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2968, allocations: 4 kB / 410.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2968, allocations: 7.938 kB / 410.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2979, allocations: 499.4 kB / 410.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.298, allocations: 105 kB / 410.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.2981, allocations: 4 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2983, allocations: 19.97 kB / 410.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.2983, allocations: 11.98 kB / 410.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.2984, allocations: 11.98 kB / 410.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.2985, allocations: 155.2 kB / 410.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2985, allocations: 0 / 410.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000372/0.2989, allocations: 59.94 kB / 410.9 MB, free: 13.77 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.001848/0.3008, allocations: 1.125 MB / 412 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008354/0.3016, allocations: 285 kB / 412.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.3016, allocations: 0 / 412.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.302, allocations: 115.8 kB / 412.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3024, allocations: 20 kB / 412.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.3068, allocations: 2.796 MB / 415.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.3072, allocations: 0.7398 MB / 416 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.3073, allocations: 37.88 kB / 416 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3075, allocations: 67.41 kB / 416.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3075, allocations: 0 / 416.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.337, allocations: 5.324 MB / 421.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/8.661, allocations: 19.64 kB / 421.4 MB, free: 3.25 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > 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