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.001365/0.001365, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001387/0.001388, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 241.2 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 46.39 kB / 300.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.102, allocations: 49.44 MB / 349.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003333/0.1054, allocations: 1.898 MB / 351.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1074, allocations: 0.9743 MB / 352.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.1075, allocations: 0 / 352.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.1077, allocations: 15.86 kB / 352.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.108, allocations: 19.84 kB / 352.6 MB, free: 1.512 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.0007196/0.1088, allocations: 163.7 kB / 352.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.109, allocations: 219.5 kB / 353 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.1092, allocations: 62.27 kB / 353 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1094, allocations: 99.61 kB / 353.1 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.11, allocations: 133.7 kB / 353.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.1101, allocations: 23.94 kB / 353.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.1104, allocations: 115.9 kB / 353.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.1105, allocations: 63.75 kB / 353.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1106, allocations: 95.45 kB / 353.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004103/0.1111, allocations: 283.4 kB / 353.8 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1111, allocations: 0 / 353.8 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1111, allocations: 0 / 353.8 MB, free: 292 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1111, allocations: 3.938 kB / 353.8 MB, free: 288 kB / 286.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.001246/0.1123, allocations: 0.5545 MB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1124, allocations: 8.031 kB / 354.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.1125, allocations: 54.73 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.1129, allocations: 40.62 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1132, allocations: 241.3 kB / 354.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.1133, allocations: 23.94 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.1133, allocations: 27.91 kB / 354.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.1138, allocations: 202.3 kB / 355 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1139, allocations: 0 / 355 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1139, allocations: 4 kB / 355 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1139, allocations: 4 kB / 355 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.1144, allocations: 156.2 kB / 355.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1155, allocations: 0.5901 MB / 355.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1165, allocations: 294.7 kB / 356 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.1168, allocations: 132.6 kB / 356.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1169, allocations: 0 / 356.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.1173, allocations: 166.5 kB / 356.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.724e-06/0.1173, allocations: 0 / 356.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001089/0.1184, allocations: 357.1 kB / 356.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.1185, allocations: 63.34 kB / 356.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.1188, allocations: 199.9 kB / 356.9 MB, free: 13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.1188, allocations: 45.69 kB / 357 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1189, allocations: 124.5 kB / 357.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.443e-05/0.119, allocations: 82.97 kB / 357.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1192, allocations: 61.69 kB / 357.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1193, allocations: 338.8 kB / 357.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.1196, allocations: 131.9 kB / 357.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.12, allocations: 157.6 kB / 357.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.1206, allocations: 272.2 kB / 358.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1206, allocations: 0 / 358.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007841/0.1214, allocations: 376.9 kB / 358.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1214, allocations: 4 kB / 358.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.1214, allocations: 3.938 kB / 358.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1215, allocations: 4 kB / 358.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.1218, allocations: 63.89 kB / 358.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1218, allocations: 11.97 kB / 358.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.122, allocations: 39.66 kB / 358.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.122, allocations: 15.98 kB / 358.6 MB, free: 11.26 MB / 302.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.0001743/0.1222, allocations: 141.8 kB / 358.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1223, allocations: 15.81 kB / 358.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.1223, allocations: 29.86 kB / 358.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1223, allocations: 0 / 358.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1224, allocations: 3.938 kB / 358.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1224, allocations: 7.984 kB / 358.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.1235, allocations: 0.6464 MB / 359.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1236, allocations: 0 / 359.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.1238, allocations: 35.97 kB / 359.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1238, allocations: 4 kB / 359.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.1239, allocations: 11.92 kB / 359.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1239, allocations: 0 / 359.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1239, allocations: 7.938 kB / 359.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009805/0.1249, allocations: 485 kB / 360 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.1249, allocations: 92.91 kB / 360.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.125, allocations: 12 kB / 360.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.1252, allocations: 19.97 kB / 360.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.1253, allocations: 15.98 kB / 360.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1253, allocations: 4 kB / 360.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1254, allocations: 147.2 kB / 360.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1254, allocations: 4 kB / 360.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000373/0.1258, allocations: 75.83 kB / 360.3 MB, free: 9.422 MB / 302.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.001593/0.1274, allocations: 1.111 MB / 361.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007493/0.1282, allocations: 293 kB / 361.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1282, allocations: 0 / 361.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.1285, allocations: 111.9 kB / 361.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1289, allocations: 34.52 kB / 361.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/0.1329, allocations: 2.851 MB / 364.7 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1332, allocations: 0.7475 MB / 365.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.1334, allocations: 33.92 kB / 365.5 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.1335, allocations: 67.41 kB / 365.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1335, allocations: 4 kB / 365.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2013/0.3349, allocations: 5.117 MB / 370.7 MB, free: 25.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.3351, allocations: 245.6 kB / 370.9 MB, free: 25.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/2.475, allocations: 4.484 kB / 370.9 MB, free: 25.48 MB / 302.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