Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001265/0.001266, allocations: 187 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.192/0.192, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3209, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002648/0.3236, allocations: 1.908 MB / 0.5203 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.325, allocations: 1.098 MB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.3251, allocations: 2.656 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.3254, allocations: 66.88 kB / 0.5214 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3256, allocations: 77.11 kB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.326, allocations: 154.9 kB / 0.5217 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.3263, allocations: 267.1 kB / 0.5219 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.3263, allocations: 35.17 kB / 0.522 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3265, allocations: 100.9 kB / 0.5221 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3267, allocations: 126.9 kB / 0.5222 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.3267, allocations: 7.938 kB / 0.5222 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005286/0.3272, allocations: 313.6 kB / 0.5225 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.425e-05/0.3273, allocations: 54.97 kB / 0.5225 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.3274, allocations: 114.8 kB / 0.5226 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.328, allocations: 432.7 kB / 0.5231 GB, free: 468 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.328, allocations: 0 / 0.5231 GB, free: 468 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.328, allocations: 0 / 0.5231 GB, free: 468 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.328, allocations: 0.7031 kB / 0.5231 GB, free: 468 kB / 382.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.000696/0.3287, allocations: 0.5741 MB / 0.5236 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3288, allocations: 8.969 kB / 0.5236 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.3e-05/0.3289, allocations: 75.48 kB / 0.5237 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.3289, allocations: 30.91 kB / 0.5237 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.3292, allocations: 243.3 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3292, allocations: 29.86 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.3293, allocations: 33.28 kB / 0.524 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.33, allocations: 493.8 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.33, allocations: 3.938 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.33, allocations: 16.48 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.3301, allocations: 27 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.3308, allocations: 429.2 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.3323, allocations: 1.172 MB / 0.5261 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.3324, allocations: 75.22 kB / 0.5262 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3326, allocations: 46.97 kB / 0.5262 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3326, allocations: 2.219 kB / 0.5262 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3326, allocations: 36.55 kB / 0.5262 GB, free: 14.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3326, allocations: 0 / 0.5262 GB, free: 14.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004475/0.3331, allocations: 152.2 kB / 0.5264 GB, free: 14.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.3331, allocations: 61.38 kB / 0.5264 GB, free: 14.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3333, allocations: 173.2 kB / 0.5266 GB, free: 14.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3333, allocations: 25.7 kB / 0.5266 GB, free: 14.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3334, allocations: 214.5 kB / 0.5268 GB, free: 13.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.3335, allocations: 29.14 kB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.3335, allocations: 55.61 kB / 0.5269 GB, free: 13.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3337, allocations: 326.9 kB / 0.5272 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3338, allocations: 50.2 kB / 0.5273 GB, free: 13.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3341, allocations: 176.2 kB / 0.5274 GB, free: 13.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.3344, allocations: 241.8 kB / 0.5277 GB, free: 13.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3344, allocations: 1.125 kB / 0.5277 GB, free: 13.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000441/0.3349, allocations: 255 kB / 0.5279 GB, free: 12.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3349, allocations: 10.5 kB / 0.5279 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3349, allocations: 3.531 kB / 0.5279 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3349, allocations: 6.625 kB / 0.5279 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.3352, allocations: 89.41 kB / 0.528 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00093/0.3362, allocations: 1.783 MB / 0.5298 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3363, allocations: 35.73 kB / 0.5298 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3364, allocations: 16.72 kB / 0.5298 GB, free: 11.05 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.0002401/0.3366, allocations: 174.4 kB / 0.53 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.3367, allocations: 12.69 kB / 0.53 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.3371, allocations: 194.9 kB / 0.5302 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3371, allocations: 1.469 kB / 0.5302 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3371, allocations: 4 kB / 0.5302 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3371, allocations: 1.438 kB / 0.5302 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.3374, allocations: 291.5 kB / 0.5305 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3375, allocations: 0 / 0.5305 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.3377, allocations: 62.16 kB / 0.5305 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3377, allocations: 0 / 0.5305 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3377, allocations: 7.156 kB / 0.5305 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008726/0.3386, allocations: 1.783 MB / 0.5323 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3386, allocations: 0 / 0.5323 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.3389, allocations: 217.2 kB / 0.5325 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.339, allocations: 87.86 kB / 0.5326 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.339, allocations: 5.125 kB / 0.5326 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.3391, allocations: 6.922 kB / 0.5326 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.3391, allocations: 13.34 kB / 0.5326 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3392, allocations: 8.375 kB / 0.5326 GB, free: 8.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.61e-05/0.3393, allocations: 115 kB / 0.5327 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3393, allocations: 4 kB / 0.5327 GB, free: 8.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.3398, allocations: 101.9 kB / 0.5328 GB, free: 8.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.0008667/0.3406, allocations: 0.7972 MB / 0.5336 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005718/0.3412, allocations: 191.4 kB / 0.5338 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3412, allocations: 0 / 0.5338 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.3415, allocations: 92 kB / 0.5339 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3418, allocations: 14.25 kB / 0.5339 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.3446, allocations: 2.205 MB / 0.536 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.3449, allocations: 0.8006 MB / 0.5368 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.3451, allocations: 59.3 kB / 0.5369 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.3452, allocations: 76.06 kB / 0.5369 GB, free: 4.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3452, allocations: 0 / 0.5369 GB, free: 4.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3685, allocations: 5.346 MB / 0.5422 GB, free: 2.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.25, allocations: 17.19 kB / 0.5422 GB, free: 2 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches