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.00157/0.00157, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001855/0.001855, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.519/1.519, allocations: 205.1 MB / 224.5 MB, free: 12.28 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.001274/0.001274, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1066, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003287/0.1099, allocations: 1.568 MB / 376.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1111, allocations: 0.5664 MB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.1112, allocations: 0 / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.702e-05/0.1113, allocations: 7.875 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1114, allocations: 15.88 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1117, allocations: 35.89 kB / 376.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1119, allocations: 51.84 kB / 376.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.112, allocations: 31.97 kB / 376.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.1121, allocations: 15.88 kB / 376.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.1121, allocations: 27.86 kB / 377 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1122, allocations: 4 kB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.1124, allocations: 47.95 kB / 377 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1124, allocations: 11.92 kB / 377 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.1125, allocations: 31.8 kB / 377.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1127, allocations: 79.64 kB / 377.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1127, allocations: 0 / 377.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1127, allocations: 0 / 377.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1127, allocations: 0 / 377.1 MB, free: 2.57 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.0005384/0.1132, allocations: 383 kB / 377.5 MB, free: 2.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1133, allocations: 12.03 kB / 377.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.184e-05/0.1134, allocations: 42.73 kB / 377.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.1138, allocations: 44.84 kB / 377.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.114, allocations: 180.2 kB / 377.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.114, allocations: 8.375 kB / 377.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1141, allocations: 8.312 kB / 377.8 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.1144, allocations: 101.8 kB / 377.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1144, allocations: 0 / 377.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1144, allocations: 4 kB / 377.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1144, allocations: 4 kB / 377.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.1146, allocations: 67.95 kB / 378 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.1153, allocations: 364.4 kB / 378.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1155, allocations: 74.53 kB / 378.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1156, allocations: 32.97 kB / 378.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1156, allocations: 11.91 kB / 378.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1157, allocations: 34.56 kB / 378.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1157, allocations: 0 / 378.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004268/0.1161, allocations: 125.5 kB / 378.6 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1161, allocations: 51.41 kB / 378.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1163, allocations: 126.1 kB / 378.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1163, allocations: 25.7 kB / 378.8 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.1163, allocations: 100.1 kB / 378.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1164, allocations: 19.8 kB / 378.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.1164, allocations: 21.7 kB / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1166, allocations: 318.8 kB / 379.3 MB, free: 236 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/0.1167, allocations: 27.97 kB / 379.3 MB, free: 208 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.1168, allocations: 27.92 kB / 379.3 MB, free: 180 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.1169, allocations: 56.81 kB / 379.4 MB, free: 120 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1169, allocations: 0 / 379.4 MB, free: 120 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002394/0.1172, allocations: 102 kB / 379.5 MB, free: 12 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1172, allocations: 4.781 kB / 379.5 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1172, allocations: 0 / 379.5 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1173, allocations: 7.938 kB / 379.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2243/0.3415, allocations: 13.38 kB / 379.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.3416, allocations: 1.375 kB / 379.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.3417, allocations: 11.28 kB / 379.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3417, allocations: 4.375 kB / 379.5 MB, free: 12.79 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.0001076/0.3418, allocations: 117.9 kB / 379.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.3419, allocations: 8 kB / 379.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.3423, allocations: 116 kB / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3423, allocations: 0.9375 kB / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3423, allocations: 0.9375 kB / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3423, allocations: 0.6562 kB / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.3425, allocations: 193.4 kB / 379.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3425, allocations: 0 / 379.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3426, allocations: 23.66 kB / 380 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.3426, allocations: 0.75 kB / 380 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3427, allocations: 4.562 kB / 380 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3427, allocations: 1.984 kB / 380 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3427, allocations: 1.984 kB / 380 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.3429, allocations: 195.7 kB / 380.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.343, allocations: 90.25 kB / 380.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.343, allocations: 4.625 kB / 380.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3431, allocations: 10.73 kB / 380.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.3432, allocations: 4.109 kB / 380.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3432, allocations: 2.641 kB / 380.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.952e-05/0.3432, allocations: 102.2 kB / 380.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3433, allocations: 1.375 kB / 380.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3435, allocations: 12.89 kB / 380.4 MB, free: 12.15 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.0006779/0.3442, allocations: 0.7676 MB / 381.1 MB, free: 11.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.3445, allocations: 70.25 kB / 381.2 MB, free: 11.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3445, allocations: 1.156 kB / 381.2 MB, free: 11.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3447, allocations: 38.89 kB / 381.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.345, allocations: 9.75 kB / 381.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3466, allocations: 1.479 MB / 382.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.3467, allocations: 0.6975 MB / 383.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.779e-05/0.3468, allocations: 5.047 kB / 383.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.3469, allocations: 26.95 kB / 383.5 MB, free: 9.621 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3469, allocations: 0 / 383.5 MB, free: 9.621 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.3646, allocations: 1.959 MB / 385.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.895, allocations: 8.891 kB / 385.4 MB, free: 9.109 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