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.001271/0.001271, allocations: 105.3 kB / 17.06 MB, free: 6.02 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.001224/0.001224, allocations: 192 kB / 18 MB, free: 5.098 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 51.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2929, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003032/0.296, allocations: 1.584 MB / 401.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2971, allocations: 0.5217 MB / 402.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.2972, allocations: 0 / 402.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.2972, allocations: 7.875 kB / 402.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.583e-05/0.2974, allocations: 7.875 kB / 402.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.2977, allocations: 51.81 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2978, allocations: 55.84 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.298, allocations: 16 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.298, allocations: 19.92 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.2981, allocations: 27.8 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.2981, allocations: 8 kB / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.2983, allocations: 47.89 kB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.2984, allocations: 11.98 kB / 402.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.2984, allocations: 23.81 kB / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.2986, allocations: 90.73 kB / 402.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2986, allocations: 3.938 kB / 402.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2986, allocations: 0 / 402.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2986, allocations: 0 / 402.7 MB, free: 6.324 MB / 318.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.0005147/0.2992, allocations: 383.1 kB / 403.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2992, allocations: 8.031 kB / 403.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.394e-05/0.2993, allocations: 46.69 kB / 403.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003884/0.2997, allocations: 48.84 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2998, allocations: 176.2 kB / 403.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.2999, allocations: 8.125 kB / 403.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.2999, allocations: 8 kB / 403.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3001, allocations: 89.64 kB / 403.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3002, allocations: 0 / 403.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3002, allocations: 4 kB / 403.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3002, allocations: 0 / 403.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.3004, allocations: 71.94 kB / 403.5 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.301, allocations: 368.5 kB / 403.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.3013, allocations: 74.47 kB / 404 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3014, allocations: 32.97 kB / 404 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3014, allocations: 7.984 kB / 404 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3014, allocations: 34.5 kB / 404 MB, free: 4.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3015, allocations: 0 / 404 MB, free: 4.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000426/0.3019, allocations: 117.6 kB / 404.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.3019, allocations: 59.34 kB / 404.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.302, allocations: 125.2 kB / 404.3 MB, free: 4.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3021, allocations: 29.7 kB / 404.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.3021, allocations: 107.9 kB / 404.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.3022, allocations: 15.91 kB / 404.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3022, allocations: 13.72 kB / 404.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3024, allocations: 318.8 kB / 404.8 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3025, allocations: 27.98 kB / 404.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.3026, allocations: 31.97 kB / 404.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3028, allocations: 52.83 kB / 404.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3028, allocations: 3.984 kB / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002445/0.303, allocations: 101.9 kB / 405 MB, free: 3.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.303, allocations: 8 kB / 405 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3031, allocations: 4.062 kB / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3031, allocations: 0 / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3032, allocations: 15.98 kB / 405.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3032, allocations: 4 kB / 405.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.3033, allocations: 7.984 kB / 405.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3033, allocations: 4 kB / 405.1 MB, free: 3.73 MB / 318.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.897e-05/0.3034, allocations: 109.8 kB / 405.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3035, allocations: 19.83 kB / 405.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.3038, allocations: 113.5 kB / 405.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3038, allocations: 0 / 405.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3038, allocations: 0 / 405.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3039, allocations: 0 / 405.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.3041, allocations: 201.5 kB / 405.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3041, allocations: 0 / 405.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3042, allocations: 27.92 kB / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3042, allocations: 0 / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3042, allocations: 3.984 kB / 405.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3042, allocations: 0 / 405.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3043, allocations: 0 / 405.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.3046, allocations: 191.5 kB / 405.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.3046, allocations: 89 kB / 405.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3046, allocations: 3.984 kB / 405.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3047, allocations: 8 kB / 405.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3048, allocations: 11.92 kB / 405.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3048, allocations: 4 kB / 405.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.3049, allocations: 95.27 kB / 405.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3049, allocations: 3.938 kB / 405.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.3051, allocations: 8 kB / 405.9 MB, free: 2.754 MB / 318.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.0007238/0.3059, allocations: 0.771 MB / 406.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.3061, allocations: 75.92 kB / 406.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3061, allocations: 0 / 406.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3063, allocations: 31.98 kB / 406.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3066, allocations: 10.48 kB / 406.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.3084, allocations: 1.48 MB / 408.3 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3088, allocations: 0.6961 MB / 409 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.3088, allocations: 15.97 kB / 409 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.3089, allocations: 23.42 kB / 409 MB, free: 15.52 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3089, allocations: 4 kB / 409 MB, free: 15.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.3322, allocations: 1.945 MB / 411 MB, free: 13.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/8.923, allocations: 3.859 kB / 411 MB, free: 13.63 MB / 334.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