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.001019/0.001019, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 76.62 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003147/0.1073, allocations: 1.919 MB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.109, allocations: 1.125 MB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.1091, allocations: 4 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1094, allocations: 71.58 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.1096, allocations: 79.52 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.11, allocations: 147.7 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1103, allocations: 266.4 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.1103, allocations: 40.66 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.1105, allocations: 115.3 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1107, allocations: 115.3 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1107, allocations: 8 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.1112, allocations: 327.5 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.1113, allocations: 47.7 kB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1114, allocations: 119.2 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.1119, allocations: 430.5 kB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1119, allocations: 0 / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1119, allocations: 0 / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1119, allocations: 3.938 kB / 484.9 MB, free: 368 kB / 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.0007107/0.1126, allocations: 0.5699 MB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1126, allocations: 11.97 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.46e-05/0.1127, allocations: 74.72 kB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.1128, allocations: 32.56 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.113, allocations: 235.9 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.1131, allocations: 28.94 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.1131, allocations: 35.98 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.1138, allocations: 0.4896 MB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.1138, allocations: 0 / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.1139, allocations: 11.98 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.1139, allocations: 32.98 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.1145, allocations: 423.7 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.1159, allocations: 1.189 MB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1161, allocations: 82.47 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1163, allocations: 36.83 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1163, allocations: 0 / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1163, allocations: 42.56 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1163, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004505/0.1168, allocations: 141.5 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1169, allocations: 67.28 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.117, allocations: 158.4 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.117, allocations: 29.7 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1172, allocations: 227.4 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.1172, allocations: 27.64 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.1173, allocations: 53.61 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1174, allocations: 322.8 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1175, allocations: 51.95 kB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1178, allocations: 174.6 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.1181, allocations: 252.3 kB / 489.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1181, allocations: 0 / 489.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004298/0.1186, allocations: 249.2 kB / 489.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1186, allocations: 8 kB / 489.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1186, allocations: 4 kB / 489.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1186, allocations: 8 kB / 489.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.1189, allocations: 87.91 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008734/0.1198, allocations: 1.786 MB / 491.8 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.12, allocations: 27.75 kB / 491.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.12, allocations: 16.28 kB / 491.9 MB, free: 8.957 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.0002091/0.1202, allocations: 181.7 kB / 492 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.1203, allocations: 7.906 kB / 492 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.1208, allocations: 202 kB / 492.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1208, allocations: 0 / 492.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1208, allocations: 4 kB / 492.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1208, allocations: 0 / 492.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.1211, allocations: 289.5 kB / 492.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1211, allocations: 4 kB / 492.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.1213, allocations: 67.91 kB / 492.6 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1213, allocations: 0 / 492.6 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1213, allocations: 15.94 kB / 492.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008198/0.1222, allocations: 1.77 MB / 494.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1222, allocations: 0 / 494.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.1225, allocations: 215.6 kB / 494.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.1225, allocations: 92.95 kB / 494.7 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1226, allocations: 3.984 kB / 494.7 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.1227, allocations: 4 kB / 494.7 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1227, allocations: 19.91 kB / 494.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1227, allocations: 8 kB / 494.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.992e-05/0.1228, allocations: 114.3 kB / 494.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1228, allocations: 0 / 494.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.1232, allocations: 99.53 kB / 494.9 MB, free: 5.719 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.0006882/0.1239, allocations: 0.7932 MB / 495.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.1244, allocations: 192.7 kB / 495.9 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1244, allocations: 4.062 kB / 495.9 MB, free: 4.711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.1247, allocations: 87.89 kB / 496 MB, free: 4.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.125, allocations: 14.95 kB / 496 MB, free: 4.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.1273, allocations: 2.213 MB / 498.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.1278, allocations: 0.7982 MB / 499 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.1279, allocations: 61.2 kB / 499.1 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.128, allocations: 75.41 kB / 499.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1281, allocations: 0 / 499.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.1509, allocations: 5.185 MB / 0.4925 GB, free: 12.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.82, allocations: 17.98 kB / 0.4925 GB, free: 12.25 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