Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001043/0.001043, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 203.9 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.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.356, 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_pressureLossCoefficient_DPMFLOW): time 0.002832/0.3588, allocations: 1.695 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3603, allocations: 0.8251 MB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.3603, allocations: 1.906 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.3606, allocations: 40.88 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.3608, allocations: 52.3 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.3611, allocations: 92.45 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.3614, allocations: 151.9 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.3614, allocations: 22.91 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.3616, allocations: 62.98 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3618, allocations: 69.94 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3618, allocations: 4.125 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.3621, allocations: 164.8 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.3622, allocations: 49.45 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.3623, allocations: 59.05 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.3626, allocations: 211.9 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3626, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3626, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3627, allocations: 1.375 kB / 0.5339 GB, free: 10.87 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006331/0.3633, allocations: 458.9 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3633, allocations: 9.625 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.3634, allocations: 57.59 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005105/0.3639, allocations: 69.52 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3642, allocations: 213.6 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3642, allocations: 9.906 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3642, allocations: 12.38 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.3647, allocations: 243.2 kB / 0.535 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3647, allocations: 0 / 0.535 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.3647, allocations: 5.125 kB / 0.535 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.3647, allocations: 17.83 kB / 0.535 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.3652, allocations: 227.6 kB / 0.5352 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.3663, allocations: 0.724 MB / 0.5359 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3665, allocations: 94.39 kB / 0.536 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.3667, allocations: 52.5 kB / 0.5361 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3667, allocations: 1.344 kB / 0.5361 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3667, allocations: 40 kB / 0.5361 GB, free: 9.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3667, allocations: 0 / 0.5361 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005895/0.3673, allocations: 162 kB / 0.5362 GB, free: 8.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3674, allocations: 52.44 kB / 0.5363 GB, free: 8.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.3676, allocations: 193.3 kB / 0.5365 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.3677, allocations: 26.8 kB / 0.5365 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3678, allocations: 140.4 kB / 0.5366 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.3678, allocations: 28.05 kB / 0.5367 GB, free: 8.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.3679, allocations: 32.36 kB / 0.5367 GB, free: 8.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3681, allocations: 327.3 kB / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3682, allocations: 50.75 kB / 0.5371 GB, free: 8.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.3685, allocations: 100.1 kB / 0.5372 GB, free: 8.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.3688, allocations: 160.4 kB / 0.5373 GB, free: 7.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3688, allocations: 0 / 0.5373 GB, free: 7.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004184/0.3693, allocations: 191.8 kB / 0.5375 GB, free: 7.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3693, allocations: 6 kB / 0.5375 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3693, allocations: 6.156 kB / 0.5375 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3693, allocations: 2.125 kB / 0.5375 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009237/0.3702, allocations: 130.9 kB / 0.5376 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3717, allocations: 1.816 MB / 0.5394 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.3719, allocations: 25.48 kB / 0.5394 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.3719, allocations: 5.562 kB / 0.5394 GB, free: 5.961 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001684/0.3721, allocations: 145.2 kB / 0.5396 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.3722, allocations: 9.359 kB / 0.5396 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.3727, allocations: 177.7 kB / 0.5397 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3727, allocations: 1.031 kB / 0.5397 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3727, allocations: 5.156 kB / 0.5398 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3727, allocations: 0 / 0.5398 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.373, allocations: 240.4 kB / 0.54 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.373, allocations: 1.219 kB / 0.54 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.3737, allocations: 105.6 kB / 0.5401 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3737, allocations: 0 / 0.5401 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3737, allocations: 5.516 kB / 0.5401 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.3749, allocations: 1.782 MB / 0.5418 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3749, allocations: 4.094 kB / 0.5418 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.3753, allocations: 240.5 kB / 0.5421 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.3754, allocations: 94.02 kB / 0.5422 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.3754, allocations: 1.125 kB / 0.5422 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3756, allocations: 9.141 kB / 0.5422 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.3757, allocations: 20.17 kB / 0.5422 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3757, allocations: 1.781 kB / 0.5422 GB, free: 3.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.3758, allocations: 138.6 kB / 0.5423 GB, free: 3.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3759, allocations: 0 / 0.5423 GB, free: 3.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.3762, allocations: 47.48 kB / 0.5424 GB, free: 3.188 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 (11): * Single equations (assignments): 8 * 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.000897/0.3771, allocations: 0.7807 MB / 0.5431 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3783, allocations: 232.7 kB / 0.5433 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3783, allocations: 0 / 0.5433 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.379, allocations: 126.7 kB / 0.5435 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3794, allocations: 41.2 kB / 0.5435 GB, free: 2.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.382, allocations: 2.103 MB / 0.5456 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3824, allocations: 0.7353 MB / 0.5463 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3825, allocations: 40.25 kB / 0.5463 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.3826, allocations: 38.48 kB / 0.5464 GB, free: 15.81 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3826, allocations: 1.188 kB / 0.5464 GB, free: 15.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.4068, allocations: 5.067 MB / 0.5513 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.32, allocations: 9.688 kB / 0.5513 GB, free: 12.03 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches