Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",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.001325/0.001325, allocations: 113.4 kB / 17.07 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.001357/0.001357, allocations: 193.4 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.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 55.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2911, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002908/0.2941, allocations: 1.471 MB / 401.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2954, allocations: 0.5863 MB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.2954, allocations: 0 / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.2955, allocations: 7.875 kB / 402.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.2957, allocations: 23.8 kB / 402.3 MB, free: 6.73 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.0006459/0.2963, allocations: 139.6 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.2965, allocations: 111.7 kB / 402.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.2966, allocations: 9.109 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.2966, allocations: 51.83 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.2972, allocations: 81.39 kB / 402.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.2973, allocations: 8 kB / 402.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.2975, allocations: 115.8 kB / 402.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.2976, allocations: 27.92 kB / 402.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.2977, allocations: 59.59 kB / 402.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.298, allocations: 194.5 kB / 403.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.298, allocations: 0 / 403.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.298, allocations: 0 / 403.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.298, allocations: 0 / 403.1 MB, free: 5.957 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007771/0.2988, allocations: 470.4 kB / 403.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2989, allocations: 12.03 kB / 403.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.299, allocations: 38.73 kB / 403.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.2993, allocations: 40.81 kB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.2995, allocations: 212 kB / 403.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.2995, allocations: 3.938 kB / 403.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.2995, allocations: 12 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.2998, allocations: 111.4 kB / 404 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2998, allocations: 0 / 404 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.2998, allocations: 7.984 kB / 404 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2998, allocations: 0 / 404 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.3, allocations: 55.91 kB / 404 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.3007, allocations: 460.8 kB / 404.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.3011, allocations: 125.2 kB / 404.6 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3012, allocations: 53.77 kB / 404.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3012, allocations: 0 / 404.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.3015, allocations: 145 kB / 404.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3015, allocations: 0 / 404.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005441/0.302, allocations: 237.6 kB / 405 MB, free: 3.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.3021, allocations: 97.03 kB / 405.1 MB, free: 3.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3023, allocations: 182.2 kB / 405.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3024, allocations: 41.7 kB / 405.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3025, allocations: 108.5 kB / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.3025, allocations: 47.67 kB / 405.5 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3026, allocations: 57.92 kB / 405.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3028, allocations: 330.8 kB / 405.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.303, allocations: 100.5 kB / 406 MB, free: 2.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3032, allocations: 120.4 kB / 406.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.3036, allocations: 223.4 kB / 406.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3036, allocations: 0 / 406.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005146/0.3041, allocations: 289.4 kB / 406.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3042, allocations: 4 kB / 406.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3042, allocations: 0 / 406.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3042, allocations: 4 kB / 406.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3044, allocations: 31.86 kB / 406.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3044, allocations: 0 / 406.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.3045, allocations: 31.89 kB / 406.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.3045, allocations: 4 kB / 406.7 MB, free: 2.086 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001456/0.3046, allocations: 149.9 kB / 406.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.3047, allocations: 11.91 kB / 406.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.3047, allocations: 17.34 kB / 406.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3047, allocations: 3.938 kB / 406.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3047, allocations: 11.88 kB / 406.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.3047, allocations: 7.984 kB / 406.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.305, allocations: 201.6 kB / 407.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.305, allocations: 0 / 407.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.305, allocations: 11.98 kB / 407.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.305, allocations: 0 / 407.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.305, allocations: 8 kB / 407.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3051, allocations: 3.938 kB / 407.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3051, allocations: 0 / 407.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.3054, allocations: 221.8 kB / 407.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.3055, allocations: 89.02 kB / 407.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.3056, allocations: 11.92 kB / 407.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.3056, allocations: 11.94 kB / 407.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.3057, allocations: 11.98 kB / 407.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3057, allocations: 0 / 407.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.3058, allocations: 140.2 kB / 407.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3058, allocations: 0 / 407.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000291/0.3061, allocations: 47.92 kB / 407.6 MB, free: 1.039 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001232/0.3074, allocations: 0.9257 MB / 408.5 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.3078, allocations: 191.8 kB / 408.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3078, allocations: 0 / 408.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.308, allocations: 55.97 kB / 408.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.3082, allocations: 15.06 kB / 408.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.311, allocations: 2.105 MB / 410.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.3114, allocations: 0.7158 MB / 411.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.3115, allocations: 12.88 kB / 411.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.3115, allocations: 43.42 kB / 411.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.665e-06/0.3116, allocations: 0 / 411.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.3378, allocations: 3.615 MB / 415.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.548, allocations: 5.281 kB / 415.3 MB, free: 9.32 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches