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.00117/0.00117, allocations: 110.6 kB / 16.92 MB, free: 5.844 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.001322/0.001322, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.388/1.388, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 46.11 kB / 300.7 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1059, allocations: 49.45 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003603/0.1095, allocations: 1.475 MB / 351.6 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1109, allocations: 0.5782 MB / 352.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.111, allocations: 0 / 352.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1112, allocations: 7.875 kB / 352.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.1113, allocations: 19.8 kB / 352.2 MB, free: 2.234 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.0007126/0.112, allocations: 139.6 kB / 352.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1122, allocations: 111.7 kB / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.067e-05/0.1123, allocations: 13.11 kB / 352.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.542e-05/0.1124, allocations: 43.86 kB / 352.5 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006062/0.113, allocations: 81.42 kB / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.1131, allocations: 8 kB / 352.6 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.1134, allocations: 111.8 kB / 352.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.1135, allocations: 27.92 kB / 352.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.1136, allocations: 63.58 kB / 352.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.114, allocations: 195.7 kB / 353 MB, free: 1.457 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1141, allocations: 0 / 353 MB, free: 1.457 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1141, allocations: 0 / 353 MB, free: 1.457 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1141, allocations: 4 kB / 353 MB, free: 1.453 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.000877/0.115, allocations: 454.8 kB / 353.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.115, allocations: 8.031 kB / 353.5 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.483e-05/0.1151, allocations: 38.75 kB / 353.5 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003811/0.1155, allocations: 36.72 kB / 353.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1157, allocations: 212.5 kB / 353.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.1158, allocations: 8.125 kB / 353.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.1158, allocations: 8 kB / 353.8 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1161, allocations: 119.3 kB / 353.9 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1161, allocations: 0 / 353.9 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1161, allocations: 0 / 353.9 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1161, allocations: 0 / 353.9 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.1163, allocations: 63.89 kB / 354 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.1172, allocations: 452.8 kB / 354.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.1176, allocations: 129.2 kB / 354.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1178, allocations: 57.83 kB / 354.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1178, allocations: 3.938 kB / 354.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.1181, allocations: 141 kB / 354.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.1181, allocations: 4 kB / 354.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005618/0.1186, allocations: 233.4 kB / 355 MB, free: 15.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.1187, allocations: 97.03 kB / 355 MB, free: 15.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1189, allocations: 186 kB / 355.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.119, allocations: 45.69 kB / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.1191, allocations: 108.5 kB / 355.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.1191, allocations: 39.55 kB / 355.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1193, allocations: 57.92 kB / 355.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1194, allocations: 330.8 kB / 355.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.1196, allocations: 96.47 kB / 355.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1198, allocations: 128.4 kB / 356 MB, free: 14.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1202, allocations: 211.4 kB / 356.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1202, allocations: 0 / 356.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005072/0.1207, allocations: 289.3 kB / 356.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1208, allocations: 8 kB / 356.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1208, allocations: 0 / 356.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1208, allocations: 0 / 356.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.121, allocations: 35.97 kB / 356.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.121, allocations: 7.938 kB / 356.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/0.1211, allocations: 19.75 kB / 356.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.1211, allocations: 8 kB / 356.6 MB, free: 13.6 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.0002186/0.1214, allocations: 141.8 kB / 356.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.1214, allocations: 15.81 kB / 356.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.1215, allocations: 17.39 kB / 356.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1215, allocations: 7.938 kB / 356.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1215, allocations: 7.875 kB / 356.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1215, allocations: 0 / 356.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1218, allocations: 201.6 kB / 357 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1218, allocations: 0 / 357 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.1218, allocations: 11.98 kB / 357 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1219, allocations: 4 kB / 357 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1219, allocations: 4.094 kB / 357 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1219, allocations: 0 / 357 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.1219, allocations: 7.938 kB / 357 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.1223, allocations: 225.6 kB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.1224, allocations: 92.91 kB / 357.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.1224, allocations: 8 kB / 357.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.1225, allocations: 15.92 kB / 357.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.1226, allocations: 15.92 kB / 357.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1226, allocations: 4 kB / 357.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1227, allocations: 132.2 kB / 357.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1227, allocations: 0 / 357.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.1231, allocations: 44 kB / 357.5 MB, free: 12.56 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.001163/0.1243, allocations: 0.9322 MB / 358.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.1247, allocations: 187.8 kB / 358.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1247, allocations: 0 / 358.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1248, allocations: 55.92 kB / 358.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1251, allocations: 15.92 kB / 358.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.1276, allocations: 2.082 MB / 360.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1279, allocations: 0.7118 MB / 361.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.128, allocations: 20.86 kB / 361.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.1281, allocations: 39.42 kB / 361.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1281, allocations: 0 / 361.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.1518, allocations: 3.562 MB / 365.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/7.939, allocations: 7.266 kB / 365.1 MB, free: 4.906 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