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.001243/0.001243, allocations: 109.7 kB / 16.51 MB, free: 6.707 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.001535/0.001536, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.468/1.468, allocations: 222.9 MB / 241.1 MB, free: 15.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 47.77 kB / 300.1 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09608, allocations: 49.45 MB / 349.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003241/0.09936, allocations: 1.569 MB / 351.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1008, allocations: 0.5926 MB / 351.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.101, allocations: 3.938 kB / 351.7 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1011, allocations: 3.938 kB / 351.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.689e-05/0.1012, allocations: 15.84 kB / 351.7 MB, free: 2.543 MB / 286.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.0006341/0.1019, allocations: 111.8 kB / 351.8 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1021, allocations: 115.6 kB / 351.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.1021, allocations: 5.125 kB / 351.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.1022, allocations: 55.7 kB / 352 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007685/0.103, allocations: 70.34 kB / 352 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.103, allocations: 4 kB / 352 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1033, allocations: 103.8 kB / 352.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.1033, allocations: 23.91 kB / 352.2 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.1034, allocations: 59.64 kB / 352.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1037, allocations: 187.7 kB / 352.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1037, allocations: 8 kB / 352.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1038, allocations: 4 kB / 352.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1038, allocations: 3.938 kB / 352.4 MB, free: 1.805 MB / 286.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.0007038/0.1045, allocations: 450.8 kB / 352.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1045, allocations: 8.031 kB / 352.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.906e-05/0.1046, allocations: 42.73 kB / 352.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.105, allocations: 32.73 kB / 352.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1053, allocations: 200 kB / 353.1 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.1053, allocations: 16.12 kB / 353.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1053, allocations: 8 kB / 353.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.1056, allocations: 122.7 kB / 353.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1056, allocations: 0 / 353.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1056, allocations: 0 / 353.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1057, allocations: 0 / 353.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.1059, allocations: 59.95 kB / 353.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.1066, allocations: 456.7 kB / 353.8 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.107, allocations: 125.2 kB / 353.9 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1071, allocations: 61.78 kB / 354 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.1071, allocations: 0 / 354 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.1074, allocations: 141 kB / 354.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.796e-06/0.1074, allocations: 0 / 354.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005379/0.1079, allocations: 237.3 kB / 354.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.108, allocations: 89.17 kB / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1082, allocations: 183.3 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.1082, allocations: 49.69 kB / 354.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.1083, allocations: 112.5 kB / 354.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.1084, allocations: 35.55 kB / 354.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.1085, allocations: 57.92 kB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1086, allocations: 334.8 kB / 355.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.1088, allocations: 88.47 kB / 355.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.109, allocations: 136.3 kB / 355.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.1094, allocations: 211.4 kB / 355.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1094, allocations: 0 / 355.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004795/0.1099, allocations: 285.3 kB / 355.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1099, allocations: 8 kB / 355.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1099, allocations: 4.062 kB / 355.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.11, allocations: 3.984 kB / 355.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1101, allocations: 35.92 kB / 355.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1101, allocations: 3.938 kB / 355.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.1102, allocations: 23.75 kB / 356 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1102, allocations: 4 kB / 356 MB, free: 13.97 MB / 302.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.0001425/0.1104, allocations: 157.8 kB / 356.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.1104, allocations: 15.81 kB / 356.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.1105, allocations: 17.39 kB / 356.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1105, allocations: 0 / 356.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.1105, allocations: 3.938 kB / 356.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1105, allocations: 0 / 356.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1107, allocations: 209.6 kB / 356.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1107, allocations: 0 / 356.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.1108, allocations: 11.98 kB / 356.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1108, allocations: 0 / 356.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1108, allocations: 4 kB / 356.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1108, allocations: 0 / 356.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1108, allocations: 11.88 kB / 356.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.1112, allocations: 214.1 kB / 356.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1112, allocations: 96.91 kB / 356.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1113, allocations: 8 kB / 356.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.904e-05/0.1113, allocations: 11.98 kB / 356.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.1114, allocations: 15.92 kB / 356.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1114, allocations: 4 kB / 356.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.605e-05/0.1115, allocations: 127.5 kB / 356.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1115, allocations: 0 / 356.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.1118, allocations: 47.98 kB / 356.9 MB, free: 12.93 MB / 302.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.001115/0.113, allocations: 0.9126 MB / 357.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.1134, allocations: 183.8 kB / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1134, allocations: 0 / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1135, allocations: 63.91 kB / 358.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.1137, allocations: 17.66 kB / 358.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.1163, allocations: 2.116 MB / 360.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1167, allocations: 0.7158 MB / 360.9 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.039e-05/0.1167, allocations: 12.88 kB / 360.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.1168, allocations: 43.42 kB / 361 MB, free: 8.758 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1168, allocations: 0 / 361 MB, free: 8.758 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.1362, allocations: 3.36 MB / 364.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.1365, allocations: 231.1 kB / 364.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.115, allocations: 0 / 364.5 MB, free: 5.227 MB / 302.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