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.001333/0.001333, allocations: 97.22 kB / 16.5 MB, free: 6.203 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.001249/0.001249, allocations: 193.4 kB / 17.42 MB, free: 5.844 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 43.44 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1125, allocations: 49.46 MB / 349.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.0038/0.1163, allocations: 1.902 MB / 351.4 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1185, allocations: 0.9938 MB / 352.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.1188, allocations: 4 kB / 352.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.119, allocations: 7.875 kB / 352.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.1193, allocations: 23.86 kB / 352.4 MB, free: 1.793 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.0006917/0.12, allocations: 147.7 kB / 352.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1202, allocations: 211.5 kB / 352.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.1204, allocations: 64.14 kB / 352.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1205, allocations: 87.67 kB / 352.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.1211, allocations: 114.9 kB / 353.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.1212, allocations: 12 kB / 353.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.1214, allocations: 111.8 kB / 353.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.1215, allocations: 47.81 kB / 353.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1216, allocations: 91.44 kB / 353.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.122, allocations: 287.3 kB / 353.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.122, allocations: 0 / 353.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.122, allocations: 4 kB / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.122, allocations: 4 kB / 353.6 MB, free: 0.6367 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001195/0.1232, allocations: 0.5497 MB / 354.1 MB, free: 40 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1233, allocations: 12.03 kB / 354.2 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.1234, allocations: 54.67 kB / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.1236, allocations: 40.64 kB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1239, allocations: 237.4 kB / 354.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.124, allocations: 16 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.1241, allocations: 23.91 kB / 354.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.1248, allocations: 206.3 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1249, allocations: 0 / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.1249, allocations: 8 kB / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.125, allocations: 8 kB / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/0.1258, allocations: 156.1 kB / 354.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1274, allocations: 0.5824 MB / 355.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.1292, allocations: 309.4 kB / 355.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/0.1298, allocations: 116.8 kB / 355.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1298, allocations: 0 / 355.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006697/0.1305, allocations: 167.3 kB / 356.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.735e-06/0.1305, allocations: 0 / 356.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001763/0.1323, allocations: 356.1 kB / 356.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.1324, allocations: 63.39 kB / 356.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.1328, allocations: 207.9 kB / 356.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.1328, allocations: 33.7 kB / 356.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.133, allocations: 132.6 kB / 356.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/0.1331, allocations: 74.92 kB / 356.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.1333, allocations: 73.67 kB / 357 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1335, allocations: 334.8 kB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.1341, allocations: 127.9 kB / 357.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006681/0.1348, allocations: 165.5 kB / 357.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.136, allocations: 272.1 kB / 357.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.136, allocations: 0 / 357.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001502/0.1375, allocations: 368.9 kB / 358.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.1375, allocations: 8 kB / 358.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1376, allocations: 3.938 kB / 358.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1376, allocations: 0 / 358.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.1382, allocations: 71.97 kB / 358.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.1382, allocations: 11.88 kB / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.1385, allocations: 39.67 kB / 358.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.1386, allocations: 7.984 kB / 358.4 MB, free: 11.64 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.0002324/0.1388, allocations: 149.8 kB / 358.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.1389, allocations: 15.81 kB / 358.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.139, allocations: 25.86 kB / 358.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.139, allocations: 4 kB / 358.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.1391, allocations: 3.938 kB / 358.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1391, allocations: 0 / 358.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.1412, allocations: 0.6347 MB / 359.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1413, allocations: 0 / 359.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/0.1418, allocations: 47.89 kB / 359.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1418, allocations: 0 / 359.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.1418, allocations: 11.94 kB / 359.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.1418, allocations: 8 kB / 359.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1419, allocations: 3.938 kB / 359.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.1437, allocations: 484.8 kB / 359.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.1438, allocations: 92.92 kB / 359.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.1439, allocations: 8.062 kB / 359.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.1442, allocations: 23.91 kB / 359.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.1443, allocations: 15.92 kB / 359.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.1444, allocations: 11.98 kB / 359.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.1446, allocations: 151.2 kB / 360 MB, free: 9.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1446, allocations: 0 / 360 MB, free: 9.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006294/0.1453, allocations: 71.84 kB / 360.1 MB, free: 9.793 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.002839/0.1481, allocations: 1.114 MB / 361.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.1492, allocations: 277 kB / 361.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1492, allocations: 0 / 361.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.1496, allocations: 119.8 kB / 361.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.15, allocations: 20 kB / 361.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/0.1545, allocations: 2.864 MB / 364.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1548, allocations: 0.7362 MB / 365.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.155, allocations: 29.94 kB / 365.2 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1551, allocations: 67.41 kB / 365.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1551, allocations: 0 / 365.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1831/0.3382, allocations: 4.99 MB / 370.3 MB, free: 25.01 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.3384, allocations: 245.2 kB / 370.5 MB, free: 24.76 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.404, allocations: 3.203 kB / 370.5 MB, free: 24.76 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