Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 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.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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.001348/0.001348, allocations: 113 kB / 17.73 MB, free: 5.207 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.001281/0.001281, allocations: 188.2 kB / 18.67 MB, free: 4.277 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.552/1.552, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001698/0.001699, allocations: 55.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09331, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003097/0.09646, allocations: 1.568 MB / 376.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.09752, allocations: 0.5625 MB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.0976, allocations: 0 / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.159e-05/0.09768, allocations: 11.86 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.432e-05/0.09778, allocations: 15.88 kB / 376.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.09805, allocations: 35.89 kB / 376.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.09817, allocations: 51.84 kB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.09832, allocations: 27.98 kB / 376.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.09838, allocations: 15.88 kB / 376.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.09846, allocations: 35.83 kB / 377 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.09848, allocations: 8 kB / 377 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.09869, allocations: 39.97 kB / 377 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.09872, allocations: 7.938 kB / 377 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.09877, allocations: 27.8 kB / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.09898, allocations: 87.62 kB / 377.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.099, allocations: 0 / 377.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.099, allocations: 0 / 377.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.09901, allocations: 0 / 377.1 MB, free: 2.555 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.0005606/0.09958, allocations: 383 kB / 377.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.09963, allocations: 16.03 kB / 377.5 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.0997, allocations: 38.73 kB / 377.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.1001, allocations: 48.78 kB / 377.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.1002, allocations: 176.3 kB / 377.8 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1003, allocations: 16.25 kB / 377.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.1003, allocations: 4.375 kB / 377.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.1006, allocations: 93.77 kB / 377.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1006, allocations: 4 kB / 377.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1006, allocations: 4 kB / 377.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1006, allocations: 4 kB / 377.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.1008, allocations: 63.94 kB / 378 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.1015, allocations: 364.5 kB / 378.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1017, allocations: 74.53 kB / 378.4 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1018, allocations: 40.89 kB / 378.4 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1018, allocations: 0 / 378.4 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1019, allocations: 34.56 kB / 378.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.1019, allocations: 0 / 378.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004301/0.1023, allocations: 125.5 kB / 378.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1024, allocations: 51.41 kB / 378.6 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1025, allocations: 126.1 kB / 378.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1025, allocations: 25.7 kB / 378.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1026, allocations: 96.08 kB / 378.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1026, allocations: 27.78 kB / 378.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1027, allocations: 25.7 kB / 378.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1028, allocations: 310.8 kB / 379.2 MB, free: 228 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1029, allocations: 35.91 kB / 379.3 MB, free: 192 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.103, allocations: 23.98 kB / 379.3 MB, free: 168 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1032, allocations: 61.19 kB / 379.4 MB, free: 104 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1032, allocations: 4 kB / 379.4 MB, free: 100 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002346/0.1035, allocations: 93.61 kB / 379.5 MB, free: 0 / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.1752/0.2787, allocations: 3.047 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.2787, allocations: 0.8438 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.2788, allocations: 4.797 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.279, allocations: 18.41 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.279, allocations: 1.406 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2791, allocations: 11.86 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2791, allocations: 2.031 kB / 379.5 MB, free: 12.78 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 0.0001143/0.2792, allocations: 116.9 kB / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.2793, allocations: 9.984 kB / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/0.2797, allocations: 115 kB / 379.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2797, allocations: 1.375 kB / 379.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2797, allocations: 0 / 379.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2797, allocations: 0.6562 kB / 379.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.2799, allocations: 194.7 kB / 379.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2799, allocations: 1.688 kB / 379.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.28, allocations: 18.66 kB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.28, allocations: 6.438 kB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2801, allocations: 2.5 kB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2801, allocations: 3.344 kB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2801, allocations: 3.516 kB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.2803, allocations: 199.6 kB / 380.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.2804, allocations: 88.11 kB / 380.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2804, allocations: 2.719 kB / 380.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2805, allocations: 8.547 kB / 380.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.2806, allocations: 4.766 kB / 380.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.2806, allocations: 12.64 kB / 380.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.2806, allocations: 94.39 kB / 380.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2807, allocations: 3.5 kB / 380.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.2809, allocations: 12.91 kB / 380.4 MB, free: 12.13 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.0005525/0.2814, allocations: 0.7659 MB / 381.1 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.2817, allocations: 68.42 kB / 381.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2817, allocations: 0 / 381.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.2819, allocations: 40.72 kB / 381.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2822, allocations: 5.531 kB / 381.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.2837, allocations: 1.483 MB / 382.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2839, allocations: 0.6927 MB / 383.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.781e-05/0.284, allocations: 7.406 kB / 383.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.284, allocations: 27.47 kB / 383.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.284, allocations: 0 / 383.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.306, allocations: 1.961 MB / 385.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.32, allocations: 8.891 kB / 385.4 MB, free: 9.09 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches