Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.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.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",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.001116/0.001116, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.001079/0.001079, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.429/1.429, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.00104, allocations: 48.58 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09905, allocations: 49.45 MB / 350.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003003/0.1021, allocations: 1.565 MB / 351.7 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.1031, allocations: 0.5196 MB / 352.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.057e-05/0.1032, allocations: 0 / 352.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.639e-05/0.1032, allocations: 7.875 kB / 352.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.1034, allocations: 15.88 kB / 352.3 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1037, allocations: 43.88 kB / 352.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.1038, allocations: 51.8 kB / 352.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1039, allocations: 15.98 kB / 352.4 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.104, allocations: 23.92 kB / 352.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.104, allocations: 27.84 kB / 352.4 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1041, allocations: 4 kB / 352.4 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.1043, allocations: 47.97 kB / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.1043, allocations: 15.92 kB / 352.5 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.1043, allocations: 23.81 kB / 352.5 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1045, allocations: 79.75 kB / 352.6 MB, free: 1.844 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1045, allocations: 0 / 352.6 MB, free: 1.844 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1045, allocations: 0 / 352.6 MB, free: 1.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1045, allocations: 0 / 352.6 MB, free: 1.844 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004418/0.105, allocations: 383.4 kB / 353 MB, free: 1.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.105, allocations: 12.03 kB / 353 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.1051, allocations: 46.75 kB / 353 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.1055, allocations: 44.78 kB / 353.1 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1057, allocations: 176.2 kB / 353.3 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.1057, allocations: 4.375 kB / 353.3 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1057, allocations: 11.94 kB / 353.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.106, allocations: 97.48 kB / 353.4 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.106, allocations: 0 / 353.4 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.106, allocations: 8 kB / 353.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.106, allocations: 4 kB / 353.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1063, allocations: 67.94 kB / 353.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.1069, allocations: 372.4 kB / 353.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1071, allocations: 66.55 kB / 353.9 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1072, allocations: 36.95 kB / 353.9 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1072, allocations: 0 / 353.9 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1073, allocations: 42.5 kB / 354 MB, free: 336 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1073, allocations: 0 / 354 MB, free: 336 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004372/0.1077, allocations: 117.6 kB / 354.1 MB, free: 212 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1078, allocations: 51.41 kB / 354.1 MB, free: 148 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1079, allocations: 126.1 kB / 354.2 MB, free: 8 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1079, allocations: 33.64 kB / 354.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.108, allocations: 104.1 kB / 354.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.108, allocations: 23.72 kB / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.1081, allocations: 13.72 kB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1082, allocations: 326.8 kB / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1083, allocations: 19.98 kB / 354.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.432e-05/0.1084, allocations: 31.97 kB / 354.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1086, allocations: 64.77 kB / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1086, allocations: 0 / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002581/0.1089, allocations: 89.64 kB / 354.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1089, allocations: 11.94 kB / 354.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1089, allocations: 0 / 354.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1089, allocations: 0 / 354.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1091, allocations: 15.98 kB / 355 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1091, allocations: 4 kB / 355 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.652e-05/0.1092, allocations: 15.89 kB / 355 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1092, allocations: 3.938 kB / 355 MB, free: 15.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 8.89e-05/0.1093, allocations: 113.8 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1094, allocations: 7.938 kB / 355.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.1097, allocations: 121.9 kB / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1097, allocations: 0 / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1097, allocations: 4.062 kB / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1097, allocations: 0 / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.11, allocations: 193.6 kB / 355.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.11, allocations: 0 / 355.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1101, allocations: 15.98 kB / 355.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1101, allocations: 3.938 kB / 355.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1101, allocations: 4 kB / 355.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1101, allocations: 0 / 355.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1101, allocations: 4 kB / 355.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.1105, allocations: 195.3 kB / 355.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.1105, allocations: 88.98 kB / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1106, allocations: 0 / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1107, allocations: 11.98 kB / 355.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.1107, allocations: 11.98 kB / 355.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.1108, allocations: 4 kB / 355.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.898e-05/0.1108, allocations: 94.64 kB / 355.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1108, allocations: 0 / 355.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1111, allocations: 15.91 kB / 355.9 MB, free: 14.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000751/0.1118, allocations: 0.767 MB / 356.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1121, allocations: 71.92 kB / 356.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1121, allocations: 0 / 356.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1123, allocations: 35.92 kB / 356.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1126, allocations: 8 kB / 356.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.1146, allocations: 1.487 MB / 358.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1149, allocations: 0.6924 MB / 358.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.1149, allocations: 8 kB / 358.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.115, allocations: 27.36 kB / 358.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.115, allocations: 0 / 358.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.1352, allocations: 1.901 MB / 360.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/7.827, allocations: 19.84 kB / 360.9 MB, free: 9.164 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches