Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",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.0008926/0.0008928, allocations: 89.61 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.001203/0.001203, allocations: 182.5 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.577/1.577, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.000374, allocations: 4 kB / 301.5 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 50.4 MB / 351.9 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003056/0.1372, allocations: 1.562 MB / 353.5 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.1402, allocations: 1.251 MB / 354.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.1405, allocations: 4 kB / 354.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.1407, allocations: 7.875 kB / 354.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1408, allocations: 23.8 kB / 354.8 MB, free: 0.7227 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.001207/0.1421, allocations: 251.5 kB / 355 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.1424, allocations: 203.5 kB / 355.2 MB, free: 284 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.1427, allocations: 68.11 kB / 355.3 MB, free: 216 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1429, allocations: 75.64 kB / 355.4 MB, free: 140 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008086/0.1437, allocations: 109.8 kB / 355.5 MB, free: 32 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.324e-05/0.1438, allocations: 12 kB / 355.5 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007683/0.1446, allocations: 287.6 kB / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1447, allocations: 47.81 kB / 355.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1449, allocations: 109.2 kB / 355.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007613/0.1456, allocations: 378.9 kB / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.1457, allocations: 0 / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1457, allocations: 0 / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1457, allocations: 0 / 356.3 MB, free: 15.21 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.001338/0.147, allocations: 0.5546 MB / 356.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1471, allocations: 8.031 kB / 356.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.1472, allocations: 58.73 kB / 356.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002584/0.1475, allocations: 32.64 kB / 356.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1478, allocations: 241.4 kB / 357.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.1479, allocations: 16 kB / 357.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.1479, allocations: 23.91 kB / 357.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.1485, allocations: 226.2 kB / 357.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1485, allocations: 4 kB / 357.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.1486, allocations: 7.984 kB / 357.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1486, allocations: 4 kB / 357.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.1491, allocations: 180.2 kB / 357.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.1504, allocations: 0.5826 MB / 358.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.1516, allocations: 377.8 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.1519, allocations: 144.7 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1519, allocations: 4 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/0.1524, allocations: 190.3 kB / 358.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.475e-06/0.1524, allocations: 0 / 358.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001108/0.1535, allocations: 413.1 kB / 359.3 MB, free: 12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.1536, allocations: 71.39 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1539, allocations: 199.9 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.1539, allocations: 37.7 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1541, allocations: 136.5 kB / 359.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/0.1541, allocations: 67 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/0.1542, allocations: 41.7 kB / 359.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1544, allocations: 338.8 kB / 360.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.1548, allocations: 147.9 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.1552, allocations: 181.5 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.1559, allocations: 304.6 kB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1559, allocations: 0 / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009345/0.1569, allocations: 424.8 kB / 361.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1569, allocations: 4 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1569, allocations: 0 / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1569, allocations: 4 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.1573, allocations: 75.89 kB / 361.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.1573, allocations: 7.938 kB / 361.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.1575, allocations: 51.66 kB / 361.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1575, allocations: 15.98 kB / 361.4 MB, free: 9.871 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.0001973/0.1578, allocations: 141.8 kB / 361.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1578, allocations: 19.72 kB / 361.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.1579, allocations: 25.86 kB / 361.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1579, allocations: 0 / 361.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1579, allocations: 3.938 kB / 361.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.1579, allocations: 8 kB / 361.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.1592, allocations: 0.6738 MB / 362.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1593, allocations: 0 / 362.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.1595, allocations: 59.95 kB / 362.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1595, allocations: 0 / 362.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.1596, allocations: 4 kB / 362.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.1596, allocations: 4 kB / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1596, allocations: 7.875 kB / 362.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.1607, allocations: 0.5475 MB / 362.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.1608, allocations: 92.91 kB / 363 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.1608, allocations: 12.05 kB / 363 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.161, allocations: 27.98 kB / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.1611, allocations: 19.97 kB / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1611, allocations: 4 kB / 363 MB, free: 8.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1613, allocations: 147.2 kB / 363.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1613, allocations: 0 / 363.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005213/0.1618, allocations: 111.8 kB / 363.3 MB, free: 7.879 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.002103/0.1639, allocations: 1.228 MB / 364.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008563/0.1648, allocations: 317 kB / 364.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1648, allocations: 0 / 364.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.1652, allocations: 135.9 kB / 364.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1656, allocations: 20 kB / 365 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.1704, allocations: 2.993 MB / 368 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1708, allocations: 0.74 MB / 368.7 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.171, allocations: 37.92 kB / 368.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.1711, allocations: 71.41 kB / 368.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1711, allocations: 0 / 368.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2777/0.4489, allocations: 5.581 MB / 374.4 MB, free: 24.16 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.4491, allocations: 240.8 kB / 374.6 MB, free: 23.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.603, allocations: 0 / 374.6 MB, free: 23.91 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches