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.001484/0.001491, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.001105/0.001105, allocations: 192 kB / 18.56 MB, free: 4.434 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.313/1.313, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2024/0.2024, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 69.3 kB / 408.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 60.82 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003765/0.1146, allocations: 1.908 MB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1169, allocations: 1.102 MB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.1171, allocations: 0 / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1175, allocations: 67.59 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.1178, allocations: 71.53 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.1183, allocations: 159.6 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.1187, allocations: 262.4 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.1188, allocations: 40.66 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.119, allocations: 103.4 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1193, allocations: 127.3 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1193, allocations: 4 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.1199, allocations: 319.5 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.12, allocations: 51.7 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.1202, allocations: 119.2 kB / 473.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007555/0.1209, allocations: 430.5 kB / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1209, allocations: 0 / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.121, allocations: 0 / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.121, allocations: 4 kB / 474.1 MB, free: 9.473 MB / 350.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.0009525/0.1219, allocations: 0.566 MB / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.122, allocations: 11.97 kB / 474.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.9e-05/0.1221, allocations: 70.72 kB / 474.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.146e-05/0.1222, allocations: 40.55 kB / 474.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.1225, allocations: 236 kB / 475 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1226, allocations: 24.94 kB / 475 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.1226, allocations: 36 kB / 475.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.1234, allocations: 493.3 kB / 475.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1234, allocations: 0 / 475.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.1235, allocations: 12 kB / 475.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.1235, allocations: 32.92 kB / 475.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.1242, allocations: 427.7 kB / 476 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.1256, allocations: 1.189 MB / 477.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1258, allocations: 82.47 kB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1259, allocations: 36.83 kB / 477.3 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.126, allocations: 4 kB / 477.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.126, allocations: 34.56 kB / 477.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.126, allocations: 0 / 477.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005122/0.1266, allocations: 153.7 kB / 477.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1266, allocations: 63.28 kB / 477.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1268, allocations: 166 kB / 477.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1268, allocations: 25.7 kB / 477.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1269, allocations: 219.2 kB / 478 MB, free: 5.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.1269, allocations: 27.64 kB / 478 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.127, allocations: 57.61 kB / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1272, allocations: 326.8 kB / 478.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1273, allocations: 47.95 kB / 478.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.1276, allocations: 172.3 kB / 478.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.1279, allocations: 240 kB / 478.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.128, allocations: 8 kB / 478.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004916/0.1285, allocations: 253.9 kB / 479.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1285, allocations: 8 kB / 479.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1285, allocations: 4 kB / 479.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1285, allocations: 8 kB / 479.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.1289, allocations: 91.89 kB / 479.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009717/0.1299, allocations: 1.785 MB / 481 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.13, allocations: 31.69 kB / 481 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.1301, allocations: 23.97 kB / 481 MB, free: 2.059 MB / 350.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.0002709/0.1303, allocations: 173.8 kB / 481.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.1304, allocations: 11.91 kB / 481.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/0.1309, allocations: 194.1 kB / 481.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1309, allocations: 3.984 kB / 481.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1309, allocations: 0 / 481.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1309, allocations: 0 / 481.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.1313, allocations: 293.5 kB / 481.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1313, allocations: 0 / 481.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.1315, allocations: 59.97 kB / 481.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1315, allocations: 7.938 kB / 481.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1315, allocations: 11.94 kB / 481.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008152/0.1323, allocations: 1.77 MB / 483.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1323, allocations: 4.031 kB / 483.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.1327, allocations: 215.4 kB / 483.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.1327, allocations: 88.95 kB / 483.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1328, allocations: 0 / 483.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.1329, allocations: 12.08 kB / 483.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1329, allocations: 4 kB / 483.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1329, allocations: 11.98 kB / 483.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.625e-05/0.133, allocations: 112.9 kB / 484 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.133, allocations: 0 / 484 MB, free: 14.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004513/0.1335, allocations: 107.5 kB / 484.1 MB, free: 14.84 MB / 366.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.0007889/0.1343, allocations: 0.7903 MB / 484.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.1348, allocations: 187.7 kB / 485.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1349, allocations: 3.938 kB / 485.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.1352, allocations: 96.94 kB / 485.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1355, allocations: 12 kB / 485.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.1379, allocations: 2.205 MB / 487.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1383, allocations: 0.7982 MB / 488.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.1385, allocations: 57.2 kB / 488.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.1386, allocations: 79.41 kB / 488.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1386, allocations: 0 / 488.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.1625, allocations: 5.188 MB / 493.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.05, allocations: 13.12 kB / 493.5 MB, free: 5.414 MB / 366.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