Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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.001726/0.001726, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001914/0.001914, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 56.14 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07296/0.07413, allocations: 46.62 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002767/0.07693, allocations: 1.836 MB / 329.2 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.07855, allocations: 0.9987 MB / 330.2 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.07866, allocations: 11.94 kB / 330.2 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.999e-05/0.07878, allocations: 19.73 kB / 330.2 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.07893, allocations: 19.73 kB / 330.3 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.07945, allocations: 195.5 kB / 330.5 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.07967, allocations: 219.5 kB / 330.7 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.07983, allocations: 72.03 kB / 330.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.07993, allocations: 99.61 kB / 330.8 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.08007, allocations: 111.5 kB / 330.9 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.08011, allocations: 20 kB / 331 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.08034, allocations: 139.8 kB / 331.1 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.08042, allocations: 59.75 kB / 331.2 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.28e-05/0.08052, allocations: 103.5 kB / 331.3 MB, free: 472 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.08084, allocations: 299.4 kB / 331.6 MB, free: 172 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.08086, allocations: 0 / 331.6 MB, free: 172 kB / 270.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.08086, allocations: 0 / 331.6 MB, free: 172 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.08088, allocations: 0 / 331.6 MB, free: 172 kB / 270.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.001044/0.08193, allocations: 0.5583 MB / 332.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.08197, allocations: 8.031 kB / 332.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.953e-05/0.08205, allocations: 58.72 kB / 332.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.08225, allocations: 36.64 kB / 332.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.08248, allocations: 240.7 kB / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.08252, allocations: 16.31 kB / 332.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.08256, allocations: 28.28 kB / 332.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.08302, allocations: 206.5 kB / 332.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.08304, allocations: 3.938 kB / 332.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.08306, allocations: 8 kB / 332.7 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.08308, allocations: 4 kB / 332.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.08352, allocations: 152.1 kB / 332.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009124/0.08444, allocations: 0.5709 MB / 333.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.08546, allocations: 314.5 kB / 333.7 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.08576, allocations: 116.7 kB / 333.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.08579, allocations: 4 kB / 333.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.08618, allocations: 163.3 kB / 334 MB, free: 13.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 2.816e-06/0.0862, allocations: 0 / 334 MB, free: 13.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009562/0.08716, allocations: 357.1 kB / 334.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.08722, allocations: 63.41 kB / 334.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.08741, allocations: 211.8 kB / 334.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.08745, allocations: 41.69 kB / 334.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.08753, allocations: 128.5 kB / 334.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.08759, allocations: 74.91 kB / 334.9 MB, free: 12.63 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/0.0877, allocations: 69.69 kB / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.0878, allocations: 334.8 kB / 335.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.08814, allocations: 127.9 kB / 335.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.08849, allocations: 173.1 kB / 335.6 MB, free: 11.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.08911, allocations: 279.9 kB / 335.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.08913, allocations: 0 / 335.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000785/0.08992, allocations: 365.1 kB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.08994, allocations: 15.31 kB / 336.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.08996, allocations: 3.938 kB / 336.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.08998, allocations: 0 / 336.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.09028, allocations: 71.89 kB / 336.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.0903, allocations: 0 / 336.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.09048, allocations: 47.64 kB / 336.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.09051, allocations: 12 kB / 336.3 MB, free: 11.14 MB / 286.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.0001392/0.09066, allocations: 149.7 kB / 336.5 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.0907, allocations: 15.81 kB / 336.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.09077, allocations: 25.86 kB / 336.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.09078, allocations: 4 kB / 336.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.09079, allocations: 0 / 336.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.0908, allocations: 0 / 336.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.09189, allocations: 0.6501 MB / 337.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.0919, allocations: 0 / 337.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.09215, allocations: 47.97 kB / 337.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.09217, allocations: 0 / 337.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.09219, allocations: 7.984 kB / 337.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.0922, allocations: 3.938 kB / 337.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.09221, allocations: 0 / 337.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.09317, allocations: 484 kB / 337.7 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.09324, allocations: 104.9 kB / 337.8 MB, free: 9.559 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.09329, allocations: 4 kB / 337.8 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.09348, allocations: 27.97 kB / 337.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.09353, allocations: 7.984 kB / 337.9 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.09355, allocations: 8 kB / 337.9 MB, free: 9.512 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.09368, allocations: 155.2 kB / 338 MB, free: 9.359 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.09369, allocations: 0 / 338 MB, free: 9.359 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.09408, allocations: 71.84 kB / 338.1 MB, free: 9.289 MB / 286.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.001521/0.09561, allocations: 1.125 MB / 339.2 MB, free: 8.148 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007614/0.09638, allocations: 299.6 kB / 339.5 MB, free: 7.855 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0964, allocations: 0 / 339.5 MB, free: 7.855 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.09671, allocations: 119.9 kB / 339.6 MB, free: 7.738 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.09705, allocations: 23.98 kB / 339.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.101, allocations: 2.811 MB / 342.4 MB, free: 4.816 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1013, allocations: 0.7398 MB / 343.2 MB, free: 4.051 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.1014, allocations: 29.94 kB / 343.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1016, allocations: 71.41 kB / 343.3 MB, free: 3.949 MB / 286.1 MB Notification: Performance of SimCode: time 1.984e-06/0.1016, allocations: 0 / 343.3 MB, free: 3.949 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.1335, allocations: 5.393 MB / 348.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.587, allocations: 12 kB / 348.7 MB, free: 14.48 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches