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.001077/0.001077, allocations: 114.4 kB / 17.33 MB, free: 5.617 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.001148/0.001148, allocations: 191.6 kB / 18.25 MB, free: 4.961 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.333/1.333, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.1964/0.1964, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.89 kB / 408 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1112, allocations: 60.83 MB / 468.8 MB, free: 2.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003287/0.1145, allocations: 1.961 MB / 470.8 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1163, allocations: 1.098 MB / 471.9 MB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1164, allocations: 0 / 471.9 MB, free: 15.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.1168, allocations: 63.66 kB / 472 MB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.117, allocations: 67.59 kB / 472 MB, free: 15.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.1175, allocations: 131.8 kB / 472.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.1178, allocations: 262.4 kB / 472.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.11e-05/0.1179, allocations: 40.66 kB / 472.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.1181, allocations: 103.5 kB / 472.6 MB, free: 15.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1183, allocations: 127.3 kB / 472.7 MB, free: 14.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1183, allocations: 8 kB / 472.7 MB, free: 14.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.1188, allocations: 315.5 kB / 473 MB, free: 14.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.1189, allocations: 59.64 kB / 473.1 MB, free: 14.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.119, allocations: 107.2 kB / 473.2 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.1195, allocations: 434.5 kB / 473.6 MB, free: 14.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1195, allocations: 4 kB / 473.6 MB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1195, allocations: 0 / 473.6 MB, free: 14.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1196, allocations: 4 kB / 473.6 MB, free: 14.02 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.000725/0.1203, allocations: 0.566 MB / 474.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1203, allocations: 8.031 kB / 474.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.473e-05/0.1204, allocations: 94.56 kB / 474.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.1205, allocations: 28.56 kB / 474.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1207, allocations: 240 kB / 474.5 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1208, allocations: 24.94 kB / 474.5 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.1208, allocations: 32 kB / 474.6 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.1215, allocations: 493.4 kB / 475.1 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1215, allocations: 3.984 kB / 475.1 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.1216, allocations: 16 kB / 475.1 MB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.1216, allocations: 28.98 kB / 475.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006439/0.1223, allocations: 423.7 kB / 475.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.1237, allocations: 1.193 MB / 476.7 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1239, allocations: 78.52 kB / 476.8 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1241, allocations: 44.83 kB / 476.8 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1241, allocations: 0 / 476.8 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.1241, allocations: 38.55 kB / 476.9 MB, free: 10.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.1241, allocations: 0 / 476.9 MB, free: 10.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004614/0.1246, allocations: 161.6 kB / 477 MB, free: 10.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.1246, allocations: 55.34 kB / 477.1 MB, free: 10.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1248, allocations: 162.4 kB / 477.2 MB, free: 10.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1248, allocations: 25.7 kB / 477.3 MB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.125, allocations: 227.2 kB / 477.5 MB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.125, allocations: 23.66 kB / 477.5 MB, free: 9.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.1251, allocations: 57.61 kB / 477.6 MB, free: 9.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.1252, allocations: 322.8 kB / 477.9 MB, free: 9.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1253, allocations: 47.95 kB / 477.9 MB, free: 9.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1255, allocations: 182.4 kB / 478.1 MB, free: 9.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.1259, allocations: 244 kB / 478.3 MB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1259, allocations: 4 kB / 478.4 MB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004296/0.1263, allocations: 245.1 kB / 478.6 MB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1263, allocations: 8 kB / 478.6 MB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1263, allocations: 4 kB / 478.6 MB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1264, allocations: 4 kB / 478.6 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.1267, allocations: 87.89 kB / 478.7 MB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008046/0.1275, allocations: 1.79 MB / 480.5 MB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.1276, allocations: 28.11 kB / 480.5 MB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.1277, allocations: 19.94 kB / 480.5 MB, free: 6.602 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.0002032/0.1279, allocations: 181.7 kB / 480.7 MB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.1279, allocations: 11.91 kB / 480.7 MB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.1284, allocations: 201.8 kB / 480.9 MB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1284, allocations: 0 / 480.9 MB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1284, allocations: 0 / 480.9 MB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1284, allocations: 0 / 480.9 MB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.1287, allocations: 301.5 kB / 481.2 MB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1287, allocations: 0 / 481.2 MB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.129, allocations: 59.97 kB / 481.3 MB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.129, allocations: 4 kB / 481.3 MB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.129, allocations: 3.938 kB / 481.3 MB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007854/0.1298, allocations: 1.781 MB / 483.1 MB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1298, allocations: 0 / 483.1 MB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1301, allocations: 219.5 kB / 483.3 MB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.1302, allocations: 88.95 kB / 483.4 MB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1302, allocations: 0 / 483.4 MB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.1303, allocations: 11.98 kB / 483.4 MB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.1303, allocations: 4 kB / 483.4 MB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1303, allocations: 7.938 kB / 483.4 MB, free: 3.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.164e-05/0.1304, allocations: 122.1 kB / 483.5 MB, free: 3.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1304, allocations: 0 / 483.5 MB, free: 3.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.1309, allocations: 99.53 kB / 483.6 MB, free: 3.367 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.0007411/0.1316, allocations: 0.7966 MB / 484.4 MB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.1322, allocations: 188.8 kB / 484.6 MB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1322, allocations: 4 kB / 484.6 MB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.1325, allocations: 87.94 kB / 484.7 MB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1328, allocations: 15.94 kB / 484.7 MB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.1355, allocations: 2.32 MB / 487 MB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.1359, allocations: 0.7982 MB / 487.8 MB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1361, allocations: 65.19 kB / 487.9 MB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1362, allocations: 75.42 kB / 487.9 MB, free: 14.79 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1362, allocations: 0 / 487.9 MB, free: 14.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.1539, allocations: 5.046 MB / 493 MB, free: 10.02 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.1542, allocations: 314.9 kB / 493.3 MB, free: 9.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.091, allocations: 4 kB / 493.3 MB, free: 9.629 MB / 414.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