Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001121/0.001121, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 198 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.316/1.316, 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.2101/0.2101, allocations: 46.12 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 79.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3264, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003267/0.3297, allocations: 1.671 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3313, allocations: 0.9022 MB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.3314, allocations: 1.25 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.3316, allocations: 32.33 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.3318, allocations: 50.47 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.3322, allocations: 135.5 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3324, allocations: 138.7 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.702e-05/0.3325, allocations: 19.75 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3326, allocations: 60.7 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3327, allocations: 66.31 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3327, allocations: 5.219 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.3331, allocations: 217.5 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.3332, allocations: 38.97 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.3332, allocations: 65.55 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.3336, allocations: 236.1 kB / 0.5341 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3336, allocations: 5.359 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3336, allocations: 3.938 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3336, allocations: 0 / 0.5341 GB, free: 10.79 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006478/0.3343, allocations: 481.2 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3343, allocations: 13.61 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.3344, allocations: 53.59 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.3355, allocations: 111.4 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3358, allocations: 227.6 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3358, allocations: 4.5 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.3358, allocations: 17.98 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.3365, allocations: 317.4 kB / 0.5352 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3365, allocations: 1 kB / 0.5352 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.3365, allocations: 13.36 kB / 0.5353 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/0.3366, allocations: 19.45 kB / 0.5353 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.3374, allocations: 323.8 kB / 0.5356 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.3388, allocations: 0.8279 MB / 0.5364 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/0.3395, allocations: 221.9 kB / 0.5366 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.3398, allocations: 85.34 kB / 0.5367 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3399, allocations: 5.578 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3399, allocations: 35.56 kB / 0.5367 GB, free: 8.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3399, allocations: 0 / 0.5367 GB, free: 8.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001092/0.341, allocations: 300.2 kB / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3411, allocations: 56.86 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.3413, allocations: 182.1 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.3413, allocations: 30.8 kB / 0.5373 GB, free: 8.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3414, allocations: 140.7 kB / 0.5374 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.3415, allocations: 44.61 kB / 0.5374 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.3416, allocations: 50.31 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3417, allocations: 331.5 kB / 0.5378 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.342, allocations: 81.78 kB / 0.5379 GB, free: 7.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.3423, allocations: 139.7 kB / 0.538 GB, free: 7.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.343, allocations: 227 kB / 0.5382 GB, free: 7.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.343, allocations: 0.75 kB / 0.5382 GB, free: 7.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007578/0.3438, allocations: 266 kB / 0.5385 GB, free: 7.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3438, allocations: 5.344 kB / 0.5385 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3438, allocations: 6.219 kB / 0.5385 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3438, allocations: 3.281 kB / 0.5385 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.3443, allocations: 81.3 kB / 0.5386 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009642/0.3453, allocations: 1.79 MB / 0.5403 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.3455, allocations: 27.58 kB / 0.5404 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.3456, allocations: 20.97 kB / 0.5404 GB, free: 5.414 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 (17): * Single equations (assignments): 14 * 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.0001485/0.3457, allocations: 137.7 kB / 0.5405 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.3458, allocations: 13.95 kB / 0.5405 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008023/0.3466, allocations: 269.5 kB / 0.5408 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3466, allocations: 5.859 kB / 0.5408 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3466, allocations: 4 kB / 0.5408 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3466, allocations: 0 / 0.5408 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.347, allocations: 253.1 kB / 0.541 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.347, allocations: 0 / 0.541 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.3474, allocations: 80.05 kB / 0.5411 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3474, allocations: 0.9062 kB / 0.5411 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.3474, allocations: 7.297 kB / 0.5411 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008892/0.3483, allocations: 1.787 MB / 0.5429 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3484, allocations: 0 / 0.5429 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.3491, allocations: 319.1 kB / 0.5432 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.3492, allocations: 88.77 kB / 0.5433 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.3492, allocations: 9.078 kB / 0.5433 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3494, allocations: 8.219 kB / 0.5433 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.3495, allocations: 13.06 kB / 0.5433 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.3495, allocations: 16.53 kB / 0.5433 GB, free: 2.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.3496, allocations: 139.1 kB / 0.5434 GB, free: 2.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3496, allocations: 0 / 0.5434 GB, free: 2.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.3501, allocations: 61.14 kB / 0.5435 GB, free: 2.531 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 (10): * Single equations (assignments): 7 * 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.001182/0.3512, allocations: 0.8772 MB / 0.5443 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009168/0.3522, allocations: 242.1 kB / 0.5446 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3522, allocations: 0 / 0.5446 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.3527, allocations: 131.6 kB / 0.5447 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.353, allocations: 10.92 kB / 0.5447 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.3565, allocations: 2.345 MB / 0.547 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.3568, allocations: 0.732 MB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.357, allocations: 69.5 kB / 0.5478 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3571, allocations: 53.36 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3571, allocations: 0.875 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.3785, allocations: 4.88 MB / 0.5526 GB, free: 10.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.26, allocations: 10.38 kB / 0.5526 GB, free: 10.71 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches