Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001093/0.001094, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 202 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.325/1.325, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2766/0.2766, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 79.86 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.348, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002943/0.3509, allocations: 1.923 MB / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3527, allocations: 1.128 MB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.649e-05/0.3528, allocations: 2.094 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.3532, allocations: 72.84 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.3534, allocations: 78.3 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.3538, allocations: 155.5 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.3541, allocations: 265 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.3542, allocations: 34.98 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.3544, allocations: 110.1 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.3547, allocations: 115.4 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.3547, allocations: 6.875 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.3552, allocations: 322 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.3553, allocations: 58.77 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3554, allocations: 113.8 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005888/0.356, allocations: 432 kB / 0.5352 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.356, allocations: 5.016 kB / 0.5352 GB, free: 9.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.356, allocations: 0 / 0.5352 GB, free: 9.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3561, allocations: 0 / 0.5352 GB, free: 9.91 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008174/0.3569, allocations: 0.5778 MB / 0.5358 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.3569, allocations: 13.05 kB / 0.5358 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.357, allocations: 85.02 kB / 0.5359 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.3571, allocations: 35.58 kB / 0.5359 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.3574, allocations: 227.2 kB / 0.5361 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.3575, allocations: 30.69 kB / 0.5362 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.3575, allocations: 32.14 kB / 0.5362 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008446/0.3584, allocations: 495.5 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3584, allocations: 1.281 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.3585, allocations: 14.75 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.3585, allocations: 30.58 kB / 0.5367 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006728/0.3592, allocations: 423.1 kB / 0.5371 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.3607, allocations: 1.183 MB / 0.5383 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.3609, allocations: 80.55 kB / 0.5383 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.361, allocations: 41.95 kB / 0.5384 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.3611, allocations: 10.08 kB / 0.5384 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3611, allocations: 35.66 kB / 0.5384 GB, free: 7.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3611, allocations: 1.062 kB / 0.5384 GB, free: 7.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005122/0.3616, allocations: 151.4 kB / 0.5386 GB, free: 7.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3617, allocations: 56.44 kB / 0.5386 GB, free: 7.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3619, allocations: 163.5 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3619, allocations: 29.7 kB / 0.5388 GB, free: 7.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.362, allocations: 228.1 kB / 0.539 GB, free: 6.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.3621, allocations: 35.81 kB / 0.5391 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/0.3622, allocations: 49.42 kB / 0.5391 GB, free: 6.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3623, allocations: 325.7 kB / 0.5394 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.3624, allocations: 51.02 kB / 0.5395 GB, free: 6.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.3627, allocations: 180.2 kB / 0.5396 GB, free: 6.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.3631, allocations: 246.8 kB / 0.5399 GB, free: 6.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3631, allocations: 1.562 kB / 0.5399 GB, free: 6.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004733/0.3636, allocations: 249.9 kB / 0.5401 GB, free: 5.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3636, allocations: 11.12 kB / 0.5401 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3636, allocations: 8.422 kB / 0.5401 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3636, allocations: 5.312 kB / 0.5401 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.364, allocations: 84.75 kB / 0.5402 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009293/0.3649, allocations: 1.784 MB / 0.542 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.3651, allocations: 31.02 kB / 0.542 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.3651, allocations: 16.41 kB / 0.542 GB, free: 4.059 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002469/0.3654, allocations: 179.5 kB / 0.5422 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.3654, allocations: 13.38 kB / 0.5422 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.3659, allocations: 198.6 kB / 0.5424 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3659, allocations: 1.906 kB / 0.5424 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3659, allocations: 3.938 kB / 0.5424 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.366, allocations: 0 / 0.5424 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.3663, allocations: 292 kB / 0.5427 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3663, allocations: 3.984 kB / 0.5427 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.3666, allocations: 62.27 kB / 0.5427 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3666, allocations: 0 / 0.5427 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3666, allocations: 11.36 kB / 0.5427 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009038/0.3675, allocations: 1.771 MB / 0.5445 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3675, allocations: 1 kB / 0.5445 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.3679, allocations: 220.6 kB / 0.5447 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.3679, allocations: 87.88 kB / 0.5448 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.368, allocations: 96 / 0.5448 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.3681, allocations: 12.2 kB / 0.5448 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3681, allocations: 8.812 kB / 0.5448 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3681, allocations: 12.52 kB / 0.5448 GB, free: 1.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.27e-05/0.3682, allocations: 114.9 kB / 0.5449 GB, free: 1.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3682, allocations: 0 / 0.5449 GB, free: 1.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.3687, allocations: 106.8 kB / 0.545 GB, free: 1.262 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.0007688/0.3695, allocations: 0.7915 MB / 0.5458 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.37, allocations: 183.7 kB / 0.546 GB, free: 480 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.37, allocations: 0 / 0.546 GB, free: 480 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.3703, allocations: 93.38 kB / 0.546 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.3706, allocations: 6.562 kB / 0.546 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.373, allocations: 2.214 MB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3733, allocations: 0.7917 MB / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.3735, allocations: 67.73 kB / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3736, allocations: 77.02 kB / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3736, allocations: 0 / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3956, allocations: 5.314 MB / 0.5543 GB, free: 8.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.5, allocations: 15.97 kB / 0.5543 GB, free: 8.738 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches