Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001352/0.001352, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2896/0.2896, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 64.39 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09968, allocations: 62.45 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003251/0.103, allocations: 1.989 MB / 481.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1046, allocations: 1.122 MB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.1047, allocations: 3.938 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.105, allocations: 59.72 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1051, allocations: 67.59 kB / 482.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.1055, allocations: 135.8 kB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.1058, allocations: 262.4 kB / 483.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.322e-05/0.1059, allocations: 44.66 kB / 483.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.1061, allocations: 107.4 kB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1062, allocations: 119.3 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1063, allocations: 8 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.1067, allocations: 323.5 kB / 483.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.1068, allocations: 55.64 kB / 483.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.499e-05/0.1069, allocations: 115.2 kB / 484 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.1074, allocations: 430.5 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1074, allocations: 0 / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1074, allocations: 0 / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1074, allocations: 0 / 484.4 MB, free: 0.6719 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.0007851/0.1082, allocations: 0.566 MB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1083, allocations: 16.03 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.486e-05/0.1084, allocations: 78.64 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.1084, allocations: 32.56 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1087, allocations: 235.9 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1087, allocations: 24.94 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.1088, allocations: 36 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.1095, allocations: 493.4 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1095, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.1095, allocations: 19.94 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.1096, allocations: 32.92 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.1102, allocations: 419.7 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.1116, allocations: 1.193 MB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1118, allocations: 74.53 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1119, allocations: 36.83 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.112, allocations: 15.91 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.112, allocations: 34.56 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.112, allocations: 4 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004563/0.1125, allocations: 149.9 kB / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.1125, allocations: 59.34 kB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1126, allocations: 158.4 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1127, allocations: 25.7 kB / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1128, allocations: 223.2 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1128, allocations: 31.64 kB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.1129, allocations: 57.61 kB / 488.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.113, allocations: 318.8 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1131, allocations: 47.95 kB / 488.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.1134, allocations: 176.2 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.1137, allocations: 260 kB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.1138, allocations: 4 kB / 489.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004576/0.1142, allocations: 241.4 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1143, allocations: 15.92 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1143, allocations: 4 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1143, allocations: 4 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.1146, allocations: 87.91 kB / 489.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009317/0.1156, allocations: 1.782 MB / 491.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.1157, allocations: 31.73 kB / 491.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.1158, allocations: 16 kB / 491.4 MB, free: 9.262 MB / 366.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.0002534/0.116, allocations: 177.9 kB / 491.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.1161, allocations: 11.91 kB / 491.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.1166, allocations: 202 kB / 491.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1166, allocations: 0 / 491.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1166, allocations: 0 / 491.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1166, allocations: 0 / 491.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.117, allocations: 297.5 kB / 492 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.117, allocations: 0 / 492 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.1172, allocations: 59.98 kB / 492.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.1172, allocations: 3.984 kB / 492.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1172, allocations: 11.94 kB / 492.1 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009976/0.1182, allocations: 1.766 MB / 493.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.1182, allocations: 8.016 kB / 493.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.1186, allocations: 215.3 kB / 494.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.1187, allocations: 88.95 kB / 494.2 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1187, allocations: 4.094 kB / 494.2 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.1188, allocations: 7.984 kB / 494.2 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.1188, allocations: 7.984 kB / 494.2 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1189, allocations: 8 kB / 494.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.119, allocations: 114.3 kB / 494.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.119, allocations: 0 / 494.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.1194, allocations: 103.5 kB / 494.4 MB, free: 6.035 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.0007863/0.1202, allocations: 0.7942 MB / 495.2 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.1207, allocations: 196.7 kB / 495.4 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1207, allocations: 0 / 495.4 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.1211, allocations: 96.34 kB / 495.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.1214, allocations: 12.3 kB / 495.5 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.1243, allocations: 2.326 MB / 497.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1247, allocations: 0.806 MB / 498.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.1249, allocations: 61.19 kB / 498.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.125, allocations: 79.41 kB / 498.8 MB, free: 1.43 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.125, allocations: 0 / 498.8 MB, free: 1.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.1439, allocations: 5.057 MB / 0.492 GB, free: 12.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.1442, allocations: 311.8 kB / 0.4923 GB, free: 12.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.204, allocations: 0 / 0.4923 GB, free: 12.24 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches