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.0009599/0.00096, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009569/0.0009569, allocations: 204.5 kB / 16.79 MB, free: 6.84 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.352/1.352, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.3767/0.3767, allocations: 43.49 MB / 313.5 MB, free: 8.465 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.001402/0.001402, allocations: 71.89 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 57.79 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003051/0.1199, allocations: 1.965 MB / 441.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1215, allocations: 1.166 MB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.1216, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1219, allocations: 67.89 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1221, allocations: 67.59 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1224, allocations: 131.5 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.1227, allocations: 318.4 kB / 443.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.1228, allocations: 40.72 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1229, allocations: 95.39 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1231, allocations: 123.3 kB / 443.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1231, allocations: 8 kB / 443.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.1235, allocations: 315.5 kB / 444.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.1236, allocations: 51.7 kB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1237, allocations: 115.2 kB / 444.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.1242, allocations: 430.4 kB / 444.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1242, allocations: 0 / 444.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1242, allocations: 0 / 444.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.1243, allocations: 0 / 444.8 MB, free: 9.836 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.0006803/0.1249, allocations: 0.5738 MB / 445.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.125, allocations: 8.031 kB / 445.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.87e-05/0.1251, allocations: 78.7 kB / 445.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.1251, allocations: 36.55 kB / 445.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1253, allocations: 228 kB / 445.7 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1254, allocations: 32.94 kB / 445.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.1254, allocations: 31.98 kB / 445.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.1261, allocations: 493.3 kB / 446.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1261, allocations: 0 / 446.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.1261, allocations: 19.92 kB / 446.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.1262, allocations: 32.98 kB / 446.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.1267, allocations: 419.7 kB / 446.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.128, allocations: 1.197 MB / 447.9 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1282, allocations: 86.45 kB / 448 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1283, allocations: 40.83 kB / 448.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1284, allocations: 8 kB / 448.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1284, allocations: 34.56 kB / 448.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1284, allocations: 0 / 448.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004285/0.1288, allocations: 149.5 kB / 448.2 MB, free: 6.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.1289, allocations: 63.33 kB / 448.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.129, allocations: 158.2 kB / 448.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.129, allocations: 33.7 kB / 448.5 MB, free: 5.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1291, allocations: 223.4 kB / 448.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1292, allocations: 27.66 kB / 448.7 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.1292, allocations: 53.61 kB / 448.8 MB, free: 5.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1294, allocations: 322.8 kB / 449.1 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1295, allocations: 55.95 kB / 449.2 MB, free: 5.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1297, allocations: 172.2 kB / 449.3 MB, free: 4.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.13, allocations: 248 kB / 449.6 MB, free: 4.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1301, allocations: 3.938 kB / 449.6 MB, free: 4.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000425/0.1305, allocations: 245.4 kB / 449.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1305, allocations: 8 kB / 449.8 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1305, allocations: 4.078 kB / 449.8 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1306, allocations: 4 kB / 449.8 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.1309, allocations: 92.45 kB / 449.9 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009125/0.1318, allocations: 1.781 MB / 451.7 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.132, allocations: 39.95 kB / 451.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.132, allocations: 16 kB / 451.8 MB, free: 2.41 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.0002471/0.1322, allocations: 181.7 kB / 451.9 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.1323, allocations: 7.906 kB / 451.9 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/0.1328, allocations: 201.9 kB / 452.1 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1328, allocations: 0 / 452.1 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1328, allocations: 0 / 452.1 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1328, allocations: 8 kB / 452.1 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.1332, allocations: 281.6 kB / 452.4 MB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1332, allocations: 3.938 kB / 452.4 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.1334, allocations: 67.91 kB / 452.5 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1334, allocations: 0 / 452.5 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1334, allocations: 11.94 kB / 452.5 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.217/0.3505, allocations: 1.763 MB / 454.3 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3505, allocations: 4.625 kB / 454.3 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.3509, allocations: 222.7 kB / 454.5 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.3509, allocations: 87.25 kB / 454.6 MB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3509, allocations: 4.078 kB / 454.6 MB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.351, allocations: 6.312 kB / 454.6 MB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.3511, allocations: 9.844 kB / 454.6 MB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3511, allocations: 4.844 kB / 454.6 MB, free: 48.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.3512, allocations: 119.8 kB / 454.7 MB, free: 48.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3512, allocations: 0 / 454.7 MB, free: 48.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005275/0.3517, allocations: 98.38 kB / 454.8 MB, free: 48.62 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.0005647/0.3523, allocations: 0.7978 MB / 455.6 MB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.3528, allocations: 182.6 kB / 455.8 MB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3528, allocations: 0 / 455.8 MB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.3531, allocations: 91.77 kB / 455.9 MB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.3534, allocations: 11.75 kB / 455.9 MB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.3552, allocations: 2.326 MB / 458.2 MB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.3554, allocations: 0.7983 MB / 459 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.3556, allocations: 64.28 kB / 459.1 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.3557, allocations: 80.64 kB / 459.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3557, allocations: 0 / 459.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.3718, allocations: 4.965 MB / 464.1 MB, free: 44.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.372, allocations: 312 kB / 464.4 MB, free: 44.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.128, allocations: 0 / 464.4 MB, free: 44.56 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