Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 67.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2987, allocations: 50.53 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003061/0.3018, allocations: 1.601 MB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3029, allocations: 0.5571 MB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.303, allocations: 4 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.303, allocations: 3.938 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.3031, allocations: 11.88 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.3034, allocations: 51.81 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3035, allocations: 55.78 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3037, allocations: 23.98 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.3037, allocations: 11.94 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.3038, allocations: 35.78 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3038, allocations: 8 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.304, allocations: 51.95 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.304, allocations: 11.94 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.3041, allocations: 27.8 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.3043, allocations: 90.72 kB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3043, allocations: 0 / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3043, allocations: 0 / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3043, allocations: 0 / 411.3 MB, free: 15 MB / 334.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.0005262/0.3048, allocations: 383.1 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3049, allocations: 12.03 kB / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.802e-05/0.305, allocations: 38.7 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.3054, allocations: 56.77 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3056, allocations: 176.2 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3056, allocations: 8.375 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3057, allocations: 8.375 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.3059, allocations: 104.1 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3059, allocations: 0 / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3059, allocations: 4 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.306, allocations: 0 / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.3062, allocations: 63.95 kB / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.3068, allocations: 372.4 kB / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.3071, allocations: 74.47 kB / 412.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.816e-05/0.3072, allocations: 36.95 kB / 412.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.3072, allocations: 3.984 kB / 412.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3072, allocations: 38.56 kB / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3072, allocations: 3.938 kB / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004036/0.3076, allocations: 121.5 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3077, allocations: 55.34 kB / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3078, allocations: 129.7 kB / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3078, allocations: 29.7 kB / 413 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.3079, allocations: 100 kB / 413.1 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3079, allocations: 23.84 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.308, allocations: 17.72 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3081, allocations: 314.8 kB / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.796e-05/0.3082, allocations: 27.98 kB / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.3083, allocations: 27.97 kB / 413.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.3085, allocations: 60.83 kB / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3085, allocations: 0 / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002334/0.3088, allocations: 89.64 kB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3088, allocations: 8 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3088, allocations: 3.938 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3088, allocations: 3.938 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.309, allocations: 15.98 kB / 413.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.309, allocations: 4 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.3091, allocations: 20.31 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3091, allocations: 7.984 kB / 413.7 MB, free: 12.37 MB / 334.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 9.222e-05/0.3092, allocations: 109.8 kB / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.3092, allocations: 4 kB / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.3095, allocations: 125.5 kB / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3095, allocations: 0 / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3096, allocations: 3.938 kB / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3096, allocations: 0 / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.3098, allocations: 193.6 kB / 414.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3098, allocations: 3.938 kB / 414.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3099, allocations: 23.97 kB / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3099, allocations: 0 / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.31, allocations: 3.938 kB / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.31, allocations: 0 / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.31, allocations: 4 kB / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.3103, allocations: 195.5 kB / 414.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.3103, allocations: 77.11 kB / 414.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3104, allocations: 11.88 kB / 414.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3105, allocations: 11.98 kB / 414.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.3105, allocations: 8 kB / 414.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3105, allocations: 3.938 kB / 414.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.351e-05/0.3106, allocations: 95.27 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3106, allocations: 0 / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.3109, allocations: 19.89 kB / 414.6 MB, free: 11.39 MB / 334.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.0007408/0.3116, allocations: 0.7632 MB / 415.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3119, allocations: 68.06 kB / 415.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3119, allocations: 0 / 415.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.312, allocations: 36.09 kB / 415.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3123, allocations: 16.12 kB / 415.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.3141, allocations: 1.463 MB / 416.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.3145, allocations: 0.7002 MB / 417.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.3146, allocations: 4 kB / 417.6 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.3146, allocations: 27.42 kB / 417.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3146, allocations: 0 / 417.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.34, allocations: 1.898 MB / 419.5 MB, free: 6.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/8.749, allocations: 9.359 kB / 419.6 MB, free: 6.344 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches