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.0007866/0.0007867, allocations: 91.41 kB / 17.35 MB, free: 6.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.0007804/0.0007804, allocations: 172.1 kB / 18.25 MB, free: 5.504 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.309/1.309, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003154, allocations: 13.75 kB / 410.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002264/0.1119, allocations: 1.622 MB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1137, allocations: 1.11 MB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.1138, allocations: 4 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.1141, allocations: 59.67 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1144, allocations: 71.58 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.1148, allocations: 123.8 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.1152, allocations: 330.3 kB / 475.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.432e-05/0.1153, allocations: 32.67 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1155, allocations: 99.45 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.1157, allocations: 123.3 kB / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1157, allocations: 8 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.1162, allocations: 315.5 kB / 476.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.1163, allocations: 47.77 kB / 476.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.1164, allocations: 144.8 kB / 476.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.117, allocations: 418.5 kB / 476.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.117, allocations: 0 / 476.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.117, allocations: 4 kB / 476.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.117, allocations: 0 / 476.9 MB, free: 8.719 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.0006894/0.1177, allocations: 0.5175 MB / 477.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1178, allocations: 12.03 kB / 477.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.919e-05/0.1179, allocations: 74.72 kB / 477.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.1179, allocations: 36.5 kB / 477.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1182, allocations: 243.9 kB / 477.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.1182, allocations: 28.94 kB / 477.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.1183, allocations: 35.94 kB / 477.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.119, allocations: 0.4896 MB / 478.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1191, allocations: 0 / 478.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.1191, allocations: 12 kB / 478.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.1192, allocations: 28.98 kB / 478.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.1198, allocations: 443.6 kB / 478.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.1213, allocations: 1.181 MB / 479.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1215, allocations: 78.53 kB / 480 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1217, allocations: 52.83 kB / 480.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1217, allocations: 3.984 kB / 480.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1217, allocations: 34.56 kB / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1217, allocations: 0 / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005007/0.1222, allocations: 177.6 kB / 480.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1223, allocations: 59.28 kB / 480.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1225, allocations: 166.4 kB / 480.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1225, allocations: 25.7 kB / 480.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1226, allocations: 219.2 kB / 480.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1227, allocations: 31.64 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1227, allocations: 25.72 kB / 480.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1228, allocations: 322.8 kB / 481.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.123, allocations: 55.95 kB / 481.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.1232, allocations: 176.2 kB / 481.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.1236, allocations: 256 kB / 481.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1236, allocations: 7.984 kB / 481.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004624/0.1241, allocations: 253.5 kB / 481.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1241, allocations: 8 kB / 481.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1241, allocations: 4 kB / 481.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1241, allocations: 11.98 kB / 481.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.1245, allocations: 87.89 kB / 482 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008813/0.1253, allocations: 1.793 MB / 483.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1255, allocations: 31.73 kB / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1255, allocations: 16.28 kB / 483.8 MB, free: 1.301 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.0001967/0.1257, allocations: 187.8 kB / 484 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.1258, allocations: 11.91 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.1263, allocations: 194.1 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1263, allocations: 8 kB / 484.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1263, allocations: 3.984 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1263, allocations: 0 / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.1266, allocations: 293.5 kB / 484.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1266, allocations: 3.938 kB / 484.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.1268, allocations: 63.97 kB / 484.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1268, allocations: 4 kB / 484.5 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1269, allocations: 7.922 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007832/0.1277, allocations: 1.774 MB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1277, allocations: 288 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.128, allocations: 227.4 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.128, allocations: 84.95 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1281, allocations: 8 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.1282, allocations: 15.92 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.1282, allocations: 12 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1282, allocations: 7.984 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.1283, allocations: 111.2 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1283, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004113/0.1287, allocations: 103.5 kB / 486.9 MB, free: 14.04 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.0007334/0.1295, allocations: 0.7993 MB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.13, allocations: 192.5 kB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.13, allocations: 4 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.1303, allocations: 104.4 kB / 488 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1306, allocations: 11.66 kB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.1331, allocations: 2.372 MB / 490.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1335, allocations: 0.8062 MB / 491.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.1337, allocations: 61.19 kB / 491.2 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.1338, allocations: 86.06 kB / 491.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1338, allocations: 0 / 491.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.151, allocations: 4.855 MB / 496.2 MB, free: 4.809 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.1513, allocations: 322.1 kB / 496.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.05, allocations: 0 / 496.5 MB, free: 4.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