Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 79.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3591, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003106/0.3623, allocations: 1.828 MB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3634, allocations: 0.6365 MB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.3635, allocations: 1.156 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.3638, allocations: 45.53 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.364, allocations: 73.81 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.3643, allocations: 130.5 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.3646, allocations: 225.4 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.261e-05/0.3647, allocations: 30.17 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3648, allocations: 88.58 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3649, allocations: 112.6 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.365, allocations: 6.875 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.3654, allocations: 217.8 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.3654, allocations: 56.69 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3655, allocations: 95.39 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.366, allocations: 329.6 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.366, allocations: 1.156 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.366, allocations: 0 / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3661, allocations: 4 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007721/0.3668, allocations: 0.5376 MB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3669, allocations: 10.41 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.84e-05/0.367, allocations: 64.45 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.3688, allocations: 209.2 kB / 0.5351 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.3692, allocations: 260.1 kB / 0.5353 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3692, allocations: 18.56 kB / 0.5354 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.3693, allocations: 18.12 kB / 0.5354 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3703, allocations: 0.5076 MB / 0.5359 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3703, allocations: 0 / 0.5359 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.3704, allocations: 6.031 kB / 0.5359 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-05/0.3704, allocations: 32.78 kB / 0.5359 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.3717, allocations: 0.5803 MB / 0.5365 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.3739, allocations: 1.169 MB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.3746, allocations: 176.2 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.375, allocations: 87.89 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.3751, allocations: 1.031 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.3751, allocations: 35.69 kB / 0.5379 GB, free: 7.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3751, allocations: 1 kB / 0.5379 GB, free: 7.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001269/0.3764, allocations: 307.6 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3764, allocations: 52.56 kB / 0.5383 GB, free: 7.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.3767, allocations: 282.1 kB / 0.5385 GB, free: 7.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3767, allocations: 30.98 kB / 0.5386 GB, free: 7.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3769, allocations: 168.9 kB / 0.5387 GB, free: 7.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.3769, allocations: 32.52 kB / 0.5387 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/0.377, allocations: 37.72 kB / 0.5388 GB, free: 7.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3771, allocations: 328.2 kB / 0.5391 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.3775, allocations: 94.2 kB / 0.5392 GB, free: 6.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.3779, allocations: 115 kB / 0.5393 GB, free: 6.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.3787, allocations: 209.4 kB / 0.5395 GB, free: 6.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3787, allocations: 5.375 kB / 0.5395 GB, free: 6.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008523/0.3795, allocations: 262.4 kB / 0.5397 GB, free: 6.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3796, allocations: 8.719 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3796, allocations: 1 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3796, allocations: 2.125 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005775/0.3854, allocations: 460 kB / 0.5402 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.3881, allocations: 1.949 MB / 0.5421 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.3886, allocations: 42.94 kB / 0.5421 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.3886, allocations: 8.422 kB / 0.5421 GB, free: 4.453 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.3888, allocations: 157.2 kB / 0.5423 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.3889, allocations: 21.3 kB / 0.5423 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.389, allocations: 26.02 kB / 0.5423 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.389, allocations: 1.062 kB / 0.5423 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.389, allocations: 1.156 kB / 0.5423 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.389, allocations: 7.984 kB / 0.5424 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.3894, allocations: 289.8 kB / 0.5426 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3894, allocations: 0 / 0.5426 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005743/0.3952, allocations: 452 kB / 0.5431 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.3952, allocations: 1 kB / 0.5431 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.3952, allocations: 9.141 kB / 0.5431 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.3979, allocations: 1.952 MB / 0.545 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.398, allocations: 4.062 kB / 0.545 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.3988, allocations: 326 kB / 0.5453 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.782e-05/0.3989, allocations: 97.34 kB / 0.5454 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.399, allocations: 1.031 kB / 0.5454 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.3994, allocations: 17.69 kB / 0.5454 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.3994, allocations: 11.5 kB / 0.5454 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.3995, allocations: 11.42 kB / 0.5454 GB, free: 1.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.3997, allocations: 209.1 kB / 0.5456 GB, free: 1.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3997, allocations: 5.219 kB / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.4001, allocations: 66.58 kB / 0.5457 GB, free: 1.406 MB / 398.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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/0.4013, allocations: 0.8617 MB / 0.5465 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006134/0.4074, allocations: 0.5939 MB / 0.5471 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4075, allocations: 0 / 0.5471 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005505/0.413, allocations: 0.4916 MB / 0.5476 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.4135, allocations: 45.05 kB / 0.5476 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.4184, allocations: 3 MB / 0.5506 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.4188, allocations: 0.7791 MB / 0.5513 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.4189, allocations: 49.92 kB / 0.5514 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.4191, allocations: 69.91 kB / 0.5514 GB, free: 11.69 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4191, allocations: 0 / 0.5514 GB, free: 11.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.4443, allocations: 7.946 MB / 0.5592 GB, free: 3.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.77, allocations: 15.39 kB / 0.5592 GB, free: 3.98 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches