Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 60.59 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004564/0.1296, allocations: 1.859 MB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1321, allocations: 1.017 MB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1323, allocations: 0 / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.1325, allocations: 19.73 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.1327, allocations: 31.72 kB / 360.5 MB, free: 11.06 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006722/0.1334, allocations: 191.4 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.1337, allocations: 223.4 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1339, allocations: 60.25 kB / 361 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1341, allocations: 99.61 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007061/0.1348, allocations: 119.5 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.1349, allocations: 20 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.1352, allocations: 127.8 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.1353, allocations: 55.81 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1354, allocations: 107.4 kB / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.1359, allocations: 283.4 kB / 361.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1359, allocations: 4 kB / 361.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1359, allocations: 0 / 361.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1359, allocations: 4 kB / 361.8 MB, free: 9.797 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.001183/0.1371, allocations: 0.5506 MB / 362.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1372, allocations: 8.031 kB / 362.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.336e-05/0.1373, allocations: 58.58 kB / 362.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.1375, allocations: 36.64 kB / 362.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1378, allocations: 239.8 kB / 362.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.1378, allocations: 16.38 kB / 362.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.1379, allocations: 31.92 kB / 362.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.1384, allocations: 198.5 kB / 362.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1384, allocations: 7.938 kB / 362.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1384, allocations: 4 kB / 362.9 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1385, allocations: 4 kB / 362.9 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.139, allocations: 168 kB / 363.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.14, allocations: 0.5862 MB / 363.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.1412, allocations: 302.7 kB / 364 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.1415, allocations: 116.8 kB / 364.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1415, allocations: 0 / 364.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/0.142, allocations: 166.8 kB / 364.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.142, allocations: 3.938 kB / 364.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001075/0.1431, allocations: 361.1 kB / 364.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1431, allocations: 67.39 kB / 364.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.1433, allocations: 218.6 kB / 364.9 MB, free: 6.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.1434, allocations: 45.69 kB / 364.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.1435, allocations: 128.5 kB / 365 MB, free: 6.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.1435, allocations: 74.94 kB / 365.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.1437, allocations: 73.62 kB / 365.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1438, allocations: 338.8 kB / 365.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.1441, allocations: 127.9 kB / 365.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.1446, allocations: 165.4 kB / 365.8 MB, free: 5.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.1453, allocations: 275.2 kB / 366.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1453, allocations: 0 / 366.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008748/0.1461, allocations: 373.8 kB / 366.4 MB, free: 4.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1462, allocations: 4 kB / 366.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1462, allocations: 0 / 366.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1462, allocations: 4 kB / 366.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.1465, allocations: 75.91 kB / 366.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1466, allocations: 4 kB / 366.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.1468, allocations: 39.72 kB / 366.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.1468, allocations: 4 kB / 366.6 MB, free: 4.746 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.000159/0.147, allocations: 150.8 kB / 366.7 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.147, allocations: 15.81 kB / 366.7 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.989e-05/0.1471, allocations: 21.88 kB / 366.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1471, allocations: 4 kB / 366.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1471, allocations: 0 / 366.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1471, allocations: 3.984 kB / 366.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1483, allocations: 0.619 MB / 367.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1483, allocations: 0 / 367.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.1486, allocations: 47.89 kB / 367.4 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.1486, allocations: 0 / 367.4 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.1486, allocations: 7.984 kB / 367.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1486, allocations: 4 kB / 367.4 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1486, allocations: 0 / 367.4 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1497, allocations: 486 kB / 367.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.1498, allocations: 100.7 kB / 368 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.1499, allocations: 12.19 kB / 368 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1501, allocations: 23.91 kB / 368.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.1501, allocations: 11.98 kB / 368.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1502, allocations: 7.984 kB / 368.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1503, allocations: 160.7 kB / 368.2 MB, free: 2.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1503, allocations: 0 / 368.2 MB, free: 2.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.1507, allocations: 75.88 kB / 368.3 MB, free: 2.914 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 (17): * Single equations (assignments): 15 * 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.00167/0.1524, allocations: 1.097 MB / 369.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008461/0.1533, allocations: 287.6 kB / 369.7 MB, free: 1.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1533, allocations: 4.062 kB / 369.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.1537, allocations: 115.9 kB / 369.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.154, allocations: 31.5 kB / 369.8 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1676/0.3216, allocations: 2.799 MB / 372.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3219, allocations: 0.74 MB / 373.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.3221, allocations: 30.62 kB / 373.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.3223, allocations: 67.66 kB / 373.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3223, allocations: 0.5312 kB / 373.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.3534, allocations: 5.21 MB / 378.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.341, allocations: 5.547 kB / 378.7 MB, free: 17.74 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv","/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_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches