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.00103/0.00103, allocations: 116.1 kB / 17.78 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.00107/0.00107, allocations: 200.7 kB / 18.73 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.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2949, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002693/0.2976, allocations: 1.602 MB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.2986, allocations: 0.5571 MB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.2986, allocations: 0 / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.2987, allocations: 3.938 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.333e-05/0.2988, allocations: 15.88 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.2991, allocations: 51.81 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.2992, allocations: 55.78 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2993, allocations: 16 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.2994, allocations: 19.92 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.2994, allocations: 35.78 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.2995, allocations: 8 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.2997, allocations: 51.95 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.2997, allocations: 4 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.2998, allocations: 31.8 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2999, allocations: 94.66 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3, allocations: 0 / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3, allocations: 0 / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3, allocations: 0 / 411.3 MB, free: 14.97 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.0004562/0.3004, allocations: 379.2 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3005, allocations: 8.031 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.125e-05/0.3006, allocations: 46.69 kB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.301, allocations: 48.83 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3011, allocations: 176.2 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.3012, allocations: 8.375 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3012, allocations: 4.375 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3014, allocations: 97.77 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3014, allocations: 3.984 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3015, allocations: 11.94 kB / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3015, allocations: 0 / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.3017, allocations: 67.94 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.3023, allocations: 372.4 kB / 412.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.3025, allocations: 70.53 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3026, allocations: 36.91 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3026, allocations: 3.984 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.3026, allocations: 38.55 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3026, allocations: 3.938 kB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003961/0.303, allocations: 121.5 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.3031, allocations: 59.39 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.3032, allocations: 122.1 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3032, allocations: 25.7 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.3033, allocations: 104 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.3033, allocations: 19.86 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3033, allocations: 21.7 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.3034, allocations: 310.8 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3036, allocations: 35.91 kB / 413.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.3037, allocations: 23.98 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3038, allocations: 61.19 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3039, allocations: 4 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002254/0.3041, allocations: 89.66 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3041, allocations: 6.812 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3041, allocations: 3.984 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3041, allocations: 7.938 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3043, allocations: 19.92 kB / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3043, allocations: 4 kB / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.3044, allocations: 19.88 kB / 413.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3044, allocations: 0 / 413.7 MB, free: 12.35 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 8.168e-05/0.3045, allocations: 117.8 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.3045, allocations: 4 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.3048, allocations: 121.5 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3048, allocations: 0 / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3049, allocations: 0 / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3049, allocations: 0 / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.3051, allocations: 193.6 kB / 414.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3051, allocations: 0 / 414.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.3052, allocations: 19.92 kB / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3052, allocations: 4 kB / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3052, allocations: 7.922 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3052, allocations: 0 / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3052, allocations: 4 kB / 414.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3055, allocations: 195.4 kB / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.3055, allocations: 81.09 kB / 414.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3056, allocations: 8.062 kB / 414.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3057, allocations: 16 kB / 414.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.3057, allocations: 7.984 kB / 414.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.3057, allocations: 4 kB / 414.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.3058, allocations: 91.27 kB / 414.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3058, allocations: 4 kB / 414.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.3061, allocations: 19.89 kB / 414.6 MB, free: 11.36 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.0006766/0.3067, allocations: 0.7632 MB / 415.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.307, allocations: 67.89 kB / 415.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.307, allocations: 0 / 415.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3071, allocations: 39.91 kB / 415.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3075, allocations: 12 kB / 415.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3092, allocations: 1.461 MB / 416.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3094, allocations: 0.6963 MB / 417.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.3095, allocations: 7.984 kB / 417.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.3096, allocations: 23.44 kB / 417.6 MB, free: 8.16 MB / 334.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3096, allocations: 0 / 417.6 MB, free: 8.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.3295, allocations: 1.899 MB / 419.5 MB, free: 6.328 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.315, allocations: 8.656 kB / 419.5 MB, free: 6.324 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.0.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