Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.0009372/0.0009372, allocations: 104 kB / 15.98 MB, free: 6.348 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.000909/0.0009091, allocations: 192.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2996/0.2996, allocations: 43.5 MB / 313.6 MB, free: 8.48 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.91 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.119, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003871/0.1229, allocations: 1.961 MB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1249, allocations: 1.134 MB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.1251, allocations: 0 / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1255, allocations: 67.88 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.1258, allocations: 67.59 kB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.1263, allocations: 139.5 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.1267, allocations: 262.5 kB / 443.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.1268, allocations: 40.72 kB / 443.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.127, allocations: 107.4 kB / 443.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1272, allocations: 119.3 kB / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.1273, allocations: 8 kB / 444 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.1278, allocations: 315.5 kB / 444.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1279, allocations: 59.62 kB / 444.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1281, allocations: 115.2 kB / 444.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005985/0.1287, allocations: 438.4 kB / 444.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1287, allocations: 0 / 444.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1287, allocations: 0 / 444.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1287, allocations: 0 / 444.9 MB, free: 9.789 MB / 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.0008266/0.1296, allocations: 0.5699 MB / 445.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1296, allocations: 11.89 kB / 445.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.74e-05/0.1297, allocations: 74.72 kB / 445.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.908e-05/0.1298, allocations: 32.56 kB / 445.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1301, allocations: 240 kB / 445.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.1301, allocations: 32.94 kB / 445.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1301, allocations: 28 kB / 445.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/0.1309, allocations: 493.4 kB / 446.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1309, allocations: 4 kB / 446.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.131, allocations: 8 kB / 446.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.131, allocations: 36.92 kB / 446.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.1317, allocations: 431.6 kB / 446.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.1332, allocations: 1.193 MB / 448.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.1334, allocations: 82.53 kB / 448.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.1336, allocations: 36.83 kB / 448.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.1336, allocations: 8.125 kB / 448.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1337, allocations: 38.56 kB / 448.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1337, allocations: 0 / 448.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000465/0.1341, allocations: 157.4 kB / 448.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.1342, allocations: 59.34 kB / 448.4 MB, free: 6.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1344, allocations: 162.2 kB / 448.6 MB, free: 5.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1344, allocations: 33.7 kB / 448.6 MB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1345, allocations: 211.2 kB / 448.8 MB, free: 5.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.1346, allocations: 35.62 kB / 448.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.1346, allocations: 53.61 kB / 448.9 MB, free: 5.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1348, allocations: 326.8 kB / 449.2 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1349, allocations: 51.95 kB / 449.3 MB, free: 5.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.1351, allocations: 180.1 kB / 449.5 MB, free: 4.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.1355, allocations: 244 kB / 449.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1355, allocations: 0 / 449.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000445/0.136, allocations: 245.6 kB / 449.9 MB, free: 4.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.136, allocations: 8.062 kB / 449.9 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.136, allocations: 8 kB / 450 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1361, allocations: 4 kB / 450 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.1364, allocations: 91.89 kB / 450 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009827/0.1374, allocations: 1.778 MB / 451.8 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1375, allocations: 31.69 kB / 451.9 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1376, allocations: 19.98 kB / 451.9 MB, free: 2.363 MB / 382.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.0002653/0.1379, allocations: 185.6 kB / 452.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1379, allocations: 8.094 kB / 452.1 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.1384, allocations: 201.8 kB / 452.3 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1384, allocations: 0 / 452.3 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1384, allocations: 3.984 kB / 452.3 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1384, allocations: 4 kB / 452.3 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.1387, allocations: 285.5 kB / 452.5 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1387, allocations: 0 / 452.5 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.139, allocations: 67.91 kB / 452.6 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.139, allocations: 0 / 452.6 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.139, allocations: 11.94 kB / 452.6 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1742/0.3132, allocations: 1.763 MB / 454.4 MB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3132, allocations: 1.688 kB / 454.4 MB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.3135, allocations: 224.3 kB / 454.6 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.3136, allocations: 89.22 kB / 454.7 MB, free: 48.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3136, allocations: 0.5 kB / 454.7 MB, free: 48.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3137, allocations: 9.781 kB / 454.7 MB, free: 48.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.3138, allocations: 8.438 kB / 454.7 MB, free: 48.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3138, allocations: 8.156 kB / 454.7 MB, free: 48.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.3139, allocations: 113.3 kB / 454.8 MB, free: 48.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3139, allocations: 0 / 454.8 MB, free: 48.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004971/0.3144, allocations: 101.8 kB / 454.9 MB, free: 48.64 MB / 382.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.0005821/0.315, allocations: 0.794 MB / 455.7 MB, free: 47.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.3155, allocations: 200.2 kB / 455.9 MB, free: 47.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.3155, allocations: 0 / 455.9 MB, free: 47.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.3158, allocations: 89.42 kB / 456 MB, free: 47.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.316, allocations: 11.59 kB / 456 MB, free: 47.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.318, allocations: 2.325 MB / 458.3 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.3182, allocations: 0.7941 MB / 459.1 MB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.3183, allocations: 63.12 kB / 459.2 MB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.3184, allocations: 78.95 kB / 459.3 MB, free: 45.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3184, allocations: 0 / 459.3 MB, free: 45.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3241/0.6425, allocations: 5.059 MB / 464.3 MB, free: 44.97 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.6428, allocations: 312.3 kB / 464.6 MB, free: 44.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.872, allocations: 0 / 464.6 MB, free: 44.58 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches