Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 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.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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.001352/0.001352, 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.001146/0.001146, 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.305/1.305, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001193/0.001193, allocations: 59.91 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.08495, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002853/0.08785, allocations: 1.832 MB / 329.2 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.08972, allocations: 1.276 MB / 330.5 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.08982, allocations: 0 / 330.5 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.924e-05/0.08993, allocations: 23.73 kB / 330.5 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.246e-05/0.09002, allocations: 23.67 kB / 330.5 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007617/0.09079, allocations: 327.1 kB / 330.9 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.09099, allocations: 215.5 kB / 331.1 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.09115, allocations: 60.06 kB / 331.1 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.611e-05/0.09125, allocations: 99.61 kB / 331.2 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.09138, allocations: 115.5 kB / 331.3 MB, free: 396 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.09142, allocations: 24 kB / 331.4 MB, free: 372 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.09182, allocations: 283.5 kB / 331.6 MB, free: 88 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.0919, allocations: 59.81 kB / 331.7 MB, free: 28 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.09201, allocations: 103.5 kB / 331.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.09245, allocations: 387.2 kB / 332.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.09247, allocations: 0 / 332.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09247, allocations: 7.875 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.09248, allocations: 0 / 332.2 MB, free: 15.54 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.0009941/0.09348, allocations: 0.574 MB / 332.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.09353, allocations: 12.03 kB / 332.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.425e-05/0.09361, allocations: 50.73 kB / 332.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.09382, allocations: 44.58 kB / 332.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.09404, allocations: 236.8 kB / 333.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.09408, allocations: 12.38 kB / 333.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.09413, allocations: 36.22 kB / 333.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.09457, allocations: 202.5 kB / 333.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.09459, allocations: 0 / 333.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.09462, allocations: 4 kB / 333.3 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.09463, allocations: 4 kB / 333.3 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.09506, allocations: 168 kB / 333.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009266/0.096, allocations: 0.5709 MB / 334.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009973/0.09701, allocations: 306.5 kB / 334.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.0973, allocations: 120.7 kB / 334.5 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.09733, allocations: 8.062 kB / 334.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003584/0.0977, allocations: 159.3 kB / 334.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.09771, allocations: 0 / 334.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001031/0.09875, allocations: 357.1 kB / 335 MB, free: 12.53 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.0988, allocations: 59.41 kB / 335.1 MB, free: 12.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.099, allocations: 215.7 kB / 335.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.09904, allocations: 41.7 kB / 335.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.09912, allocations: 128.5 kB / 335.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.09918, allocations: 74.91 kB / 335.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.614e-05/0.09928, allocations: 69.67 kB / 335.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.09939, allocations: 330.8 kB / 335.9 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.0997, allocations: 135.9 kB / 336 MB, free: 11.45 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.1, allocations: 165.1 kB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.1006, allocations: 283.8 kB / 336.5 MB, free: 11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1007, allocations: 0 / 336.5 MB, free: 11 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007481/0.1014, allocations: 369.1 kB / 336.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1014, allocations: 11.11 kB / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1014, allocations: 4 kB / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1015, allocations: 0 / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.1018, allocations: 71.81 kB / 336.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1018, allocations: 4 kB / 336.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1019, allocations: 51.69 kB / 337 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.102, allocations: 4 kB / 337 MB, free: 10.49 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.0001314/0.1021, allocations: 149.7 kB / 337.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.1022, allocations: 15.81 kB / 337.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.1022, allocations: 21.86 kB / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1022, allocations: 0 / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1022, allocations: 8 kB / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1023, allocations: 0 / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1033, allocations: 0.6424 MB / 337.8 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1033, allocations: 0 / 337.8 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.1035, allocations: 39.95 kB / 337.9 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1035, allocations: 4 kB / 337.9 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.1036, allocations: 4 kB / 337.9 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1036, allocations: 11.94 kB / 337.9 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1036, allocations: 0 / 337.9 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009997/0.1046, allocations: 487.9 kB / 338.4 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.1047, allocations: 100.9 kB / 338.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.1047, allocations: 7.984 kB / 338.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1049, allocations: 19.98 kB / 338.5 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.1049, allocations: 11.98 kB / 338.5 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.105, allocations: 15.92 kB / 338.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1051, allocations: 147.2 kB / 338.6 MB, free: 8.719 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1051, allocations: 0 / 338.6 MB, free: 8.719 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004351/0.1055, allocations: 103.8 kB / 338.7 MB, free: 8.617 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.00183/0.1074, allocations: 1.195 MB / 339.9 MB, free: 7.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007751/0.1082, allocations: 299.6 kB / 340.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1082, allocations: 0 / 340.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.1085, allocations: 115.9 kB / 340.3 MB, free: 6.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1088, allocations: 28.17 kB / 340.4 MB, free: 6.969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.1127, allocations: 2.823 MB / 343.2 MB, free: 4.059 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.113, allocations: 0.7359 MB / 343.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.1132, allocations: 33.94 kB / 344 MB, free: 3.262 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.1133, allocations: 67.41 kB / 344 MB, free: 3.195 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1133, allocations: 0 / 344 MB, free: 3.195 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.1383, allocations: 6.095 MB / 350.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.748, allocations: 11.98 kB / 350.1 MB, free: 13.02 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches