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.001353/0.001353, allocations: 113.3 kB / 17.07 MB, free: 5.969 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.001542/0.001541, allocations: 198.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.343/2.343, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 51.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4966, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.005071/0.5017, allocations: 1.478 MB / 401.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.5038, allocations: 0.5732 MB / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.504, allocations: 0 / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.5042, allocations: 11.88 kB / 402.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.5044, allocations: 15.8 kB / 402.3 MB, free: 6.738 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.0009745/0.5054, allocations: 147.6 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.5057, allocations: 111.7 kB / 402.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.032e-05/0.5058, allocations: 17.09 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.5059, allocations: 51.77 kB / 402.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008702/0.5068, allocations: 65.92 kB / 402.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.261e-05/0.5068, allocations: 12 kB / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.5072, allocations: 111.9 kB / 402.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.5073, allocations: 35.73 kB / 402.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.5075, allocations: 55.66 kB / 402.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.508, allocations: 201.2 kB / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.508, allocations: 0 / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5081, allocations: 0 / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.5081, allocations: 0 / 403.1 MB, free: 5.953 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.001044/0.5091, allocations: 458.8 kB / 403.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.5092, allocations: 8.031 kB / 403.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.264e-05/0.5093, allocations: 42.73 kB / 403.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005098/0.5098, allocations: 36.72 kB / 403.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.5102, allocations: 208 kB / 403.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.5102, allocations: 7.938 kB / 403.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.5102, allocations: 8 kB / 403.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.5106, allocations: 111.4 kB / 404 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.5106, allocations: 0 / 404 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.5106, allocations: 3.984 kB / 404 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.5107, allocations: 3.938 kB / 404 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.511, allocations: 59.97 kB / 404 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.5121, allocations: 460.7 kB / 404.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.5126, allocations: 125.2 kB / 404.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.5128, allocations: 53.77 kB / 404.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.5128, allocations: 0 / 404.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.5132, allocations: 149 kB / 404.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.5132, allocations: 0 / 404.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008246/0.514, allocations: 233.4 kB / 405 MB, free: 3.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.5142, allocations: 97.08 kB / 405.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.5146, allocations: 178.2 kB / 405.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.5147, allocations: 45.7 kB / 405.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.5149, allocations: 104.6 kB / 405.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.5149, allocations: 51.38 kB / 405.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.5151, allocations: 53.92 kB / 405.5 MB, free: 3.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5153, allocations: 326.8 kB / 405.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.5156, allocations: 100.5 kB / 406 MB, free: 2.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.516, allocations: 128.4 kB / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.5166, allocations: 215.3 kB / 406.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.5166, allocations: 4 kB / 406.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008092/0.5174, allocations: 289.3 kB / 406.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.5175, allocations: 12.06 kB / 406.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.5175, allocations: 0 / 406.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.5175, allocations: 0 / 406.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.5178, allocations: 31.86 kB / 406.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/0.5178, allocations: 4 kB / 406.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.518, allocations: 19.83 kB / 406.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.518, allocations: 8 kB / 406.7 MB, free: 2.102 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.0002178/0.5182, allocations: 157.8 kB / 406.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.5183, allocations: 15.81 kB / 406.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.5183, allocations: 9.406 kB / 406.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5184, allocations: 7.938 kB / 406.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5184, allocations: 0 / 406.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.5184, allocations: 3.984 kB / 406.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.5188, allocations: 209.5 kB / 407.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5188, allocations: 0 / 407.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.5189, allocations: 7.984 kB / 407.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.5189, allocations: 7.938 kB / 407.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.5189, allocations: 4 kB / 407.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.5189, allocations: 3.938 kB / 407.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.519, allocations: 4 kB / 407.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.5195, allocations: 217.7 kB / 407.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.5196, allocations: 88.92 kB / 407.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.5197, allocations: 11.98 kB / 407.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.5198, allocations: 11.94 kB / 407.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.5199, allocations: 11.98 kB / 407.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.5199, allocations: 4 kB / 407.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.5201, allocations: 136.2 kB / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5201, allocations: 0 / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005504/0.5207, allocations: 44 kB / 407.6 MB, free: 1.059 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.001691/0.5224, allocations: 0.9297 MB / 408.5 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000757/0.5231, allocations: 183.9 kB / 408.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5232, allocations: 0 / 408.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.5234, allocations: 63.91 kB / 408.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.5237, allocations: 11.94 kB / 408.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.5278, allocations: 2.101 MB / 410.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.5282, allocations: 0.7158 MB / 411.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.426e-05/0.5284, allocations: 12.88 kB / 411.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5285, allocations: 43.42 kB / 411.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5285, allocations: 0 / 411.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.565, allocations: 3.686 MB / 415.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.6, allocations: 1.281 kB / 415.3 MB, free: 9.273 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