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.001081/0.001081, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.0009613/0.0009614, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.589/1.589, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 8 kB / 301.5 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 50.42 MB / 352 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002587/0.1358, allocations: 1.555 MB / 353.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1381, allocations: 0.9667 MB / 354.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.1384, allocations: 4 kB / 354.5 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.1386, allocations: 11.86 kB / 354.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1389, allocations: 19.86 kB / 354.5 MB, free: 0.7891 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.0007798/0.1397, allocations: 151.7 kB / 354.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.1401, allocations: 203.5 kB / 354.9 MB, free: 452 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.1403, allocations: 64.27 kB / 354.9 MB, free: 388 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1405, allocations: 71.69 kB / 355 MB, free: 316 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007457/0.1413, allocations: 109.6 kB / 355.1 MB, free: 212 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-05/0.1414, allocations: 12 kB / 355.1 MB, free: 200 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.1417, allocations: 115.8 kB / 355.2 MB, free: 84 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.1418, allocations: 43.83 kB / 355.3 MB, free: 40 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1419, allocations: 113.2 kB / 355.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.1424, allocations: 275.2 kB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1424, allocations: 0 / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1425, allocations: 0 / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1425, allocations: 0 / 355.6 MB, free: 15.65 MB / 302.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.001257/0.1437, allocations: 0.5389 MB / 356.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.1438, allocations: 16.02 kB / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.1439, allocations: 50.73 kB / 356.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.1442, allocations: 36.64 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1445, allocations: 237.4 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.1445, allocations: 16 kB / 356.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.1446, allocations: 31.84 kB / 356.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.1452, allocations: 222.3 kB / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1452, allocations: 0 / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.1452, allocations: 4 kB / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1452, allocations: 8 kB / 356.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.1457, allocations: 180.1 kB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1469, allocations: 0.5941 MB / 357.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.1481, allocations: 389.9 kB / 357.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.1484, allocations: 132.8 kB / 358.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1485, allocations: 4 kB / 358.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.1489, allocations: 183.3 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.149, allocations: 0 / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001115/0.1501, allocations: 423.9 kB / 358.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.1501, allocations: 55.41 kB / 358.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.1504, allocations: 203.9 kB / 358.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.1505, allocations: 41.7 kB / 359 MB, free: 12.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1506, allocations: 132.6 kB / 359.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.1506, allocations: 71 kB / 359.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.1507, allocations: 37.7 kB / 359.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1509, allocations: 342.8 kB / 359.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.1513, allocations: 143.9 kB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.1517, allocations: 185.6 kB / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.1524, allocations: 304.5 kB / 360.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1524, allocations: 7.938 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009047/0.1533, allocations: 412.8 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1534, allocations: 4 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1534, allocations: 4.031 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1534, allocations: 4 kB / 360.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.1537, allocations: 79.83 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1538, allocations: 7.938 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.154, allocations: 51.66 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.154, allocations: 12 kB / 360.7 MB, free: 10.32 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.0001782/0.1542, allocations: 141.8 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.1543, allocations: 23.7 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.1543, allocations: 29.86 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1543, allocations: 0 / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.1544, allocations: 3.938 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1544, allocations: 4 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.1556, allocations: 0.6661 MB / 361.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1556, allocations: 3.984 kB / 361.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.1559, allocations: 59.91 kB / 361.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1559, allocations: 0 / 361.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.156, allocations: 7.984 kB / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.156, allocations: 0 / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.156, allocations: 3.938 kB / 361.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.1571, allocations: 0.5332 MB / 362.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1572, allocations: 96.84 kB / 362.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.1572, allocations: 12.06 kB / 362.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.1575, allocations: 31.97 kB / 362.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.1575, allocations: 11.98 kB / 362.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1575, allocations: 4 kB / 362.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1577, allocations: 155.2 kB / 362.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1577, allocations: 0 / 362.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.1581, allocations: 75.81 kB / 362.6 MB, free: 8.371 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.001851/0.16, allocations: 1.177 MB / 363.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000843/0.1609, allocations: 315.5 kB / 364.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1609, allocations: 4 kB / 364.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.1612, allocations: 131.9 kB / 364.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1616, allocations: 23.98 kB / 364.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.1662, allocations: 2.978 MB / 367.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.1666, allocations: 0.744 MB / 367.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.1667, allocations: 25.94 kB / 368 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1669, allocations: 67.41 kB / 368 MB, free: 2.82 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1669, allocations: 4 kB / 368 MB, free: 2.816 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2958/0.4627, allocations: 4.859 MB / 372.9 MB, free: 24.08 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/0.463, allocations: 248.7 kB / 373.1 MB, free: 23.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.664, allocations: 0 / 373.1 MB, free: 23.83 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