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.000984/0.0009843, allocations: 102.6 kB / 16.02 MB, free: 76 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.001162/0.001162, allocations: 184.7 kB / 16.92 MB, free: 6.918 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.295/1.295, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.3093/0.3093, allocations: 43.58 MB / 315 MB, free: 8.809 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.0007683/0.0007684, allocations: 12 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.1, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002229/0.1023, allocations: 1.622 MB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.104, allocations: 1.146 MB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.1041, allocations: 4 kB / 446.3 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.1043, allocations: 71.88 kB / 446.4 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1045, allocations: 67.58 kB / 446.5 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1049, allocations: 127.5 kB / 446.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.1053, allocations: 314.4 kB / 446.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/0.1053, allocations: 44.7 kB / 447 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1055, allocations: 91.41 kB / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1057, allocations: 131.3 kB / 447.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1057, allocations: 4 kB / 447.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.1062, allocations: 315.5 kB / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.499e-05/0.1062, allocations: 51.7 kB / 447.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1064, allocations: 140.9 kB / 447.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.1069, allocations: 422.4 kB / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1069, allocations: 0 / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1069, allocations: 0 / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1069, allocations: 4 kB / 448.1 MB, free: 8.008 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.0006366/0.1075, allocations: 0.5269 MB / 448.6 MB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1076, allocations: 8.031 kB / 448.6 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.086e-05/0.1077, allocations: 78.72 kB / 448.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.1077, allocations: 32.56 kB / 448.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.108, allocations: 224 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.108, allocations: 32.94 kB / 449 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.108, allocations: 32 kB / 449 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.1087, allocations: 0.4935 MB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1088, allocations: 0 / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.1088, allocations: 16 kB / 449.5 MB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/0.1088, allocations: 28.92 kB / 449.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.1095, allocations: 439.7 kB / 450 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.1108, allocations: 1.189 MB / 451.2 MB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.111, allocations: 86.47 kB / 451.3 MB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.1111, allocations: 56.77 kB / 451.3 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1112, allocations: 8.125 kB / 451.3 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1112, allocations: 30.56 kB / 451.4 MB, free: 4.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1112, allocations: 0 / 451.4 MB, free: 4.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004634/0.1117, allocations: 169.5 kB / 451.5 MB, free: 4.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1117, allocations: 59.28 kB / 451.6 MB, free: 4.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1119, allocations: 158.4 kB / 451.7 MB, free: 4.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1119, allocations: 33.69 kB / 451.8 MB, free: 4.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.112, allocations: 215.2 kB / 452 MB, free: 3.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.112, allocations: 31.62 kB / 452 MB, free: 3.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1121, allocations: 29.72 kB / 452 MB, free: 3.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.1122, allocations: 322.8 kB / 452.3 MB, free: 3.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1123, allocations: 51.95 kB / 452.4 MB, free: 3.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.1125, allocations: 184.2 kB / 452.6 MB, free: 3.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.1129, allocations: 260.3 kB / 452.8 MB, free: 2.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1129, allocations: 0 / 452.8 MB, free: 2.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004576/0.1133, allocations: 265.6 kB / 453.1 MB, free: 2.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1134, allocations: 8 kB / 453.1 MB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1134, allocations: 8 kB / 453.1 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1134, allocations: 4 kB / 453.1 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.1137, allocations: 91.89 kB / 453.2 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007926/0.1145, allocations: 1.785 MB / 455 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1147, allocations: 31.77 kB / 455 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1147, allocations: 20 kB / 455 MB, free: 0.5859 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.0001885/0.1149, allocations: 181.8 kB / 455.2 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1149, allocations: 11.91 kB / 455.2 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.1154, allocations: 209.9 kB / 455.4 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1154, allocations: 0 / 455.4 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1154, allocations: 4 kB / 455.4 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1154, allocations: 0 / 455.4 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1633/0.2788, allocations: 286.4 kB / 455.7 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2788, allocations: 0 / 455.7 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.2791, allocations: 69.62 kB / 455.8 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2791, allocations: 0.7031 kB / 455.8 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.2791, allocations: 8.219 kB / 455.8 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005089/0.2796, allocations: 1.772 MB / 457.6 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2796, allocations: 0.5312 kB / 457.6 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.2799, allocations: 232.3 kB / 457.8 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.28, allocations: 84.92 kB / 457.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.28, allocations: 4.625 kB / 457.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.2801, allocations: 13.53 kB / 457.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.2801, allocations: 12.2 kB / 457.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2802, allocations: 8.594 kB / 457.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.2802, allocations: 111.7 kB / 458 MB, free: 44.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2802, allocations: 0 / 458 MB, free: 44.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.2806, allocations: 104.1 kB / 458.1 MB, free: 44.52 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.0005677/0.2812, allocations: 0.8091 MB / 458.9 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.2817, allocations: 194.3 kB / 459.1 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2817, allocations: 0 / 459.1 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.282, allocations: 99.58 kB / 459.2 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.2822, allocations: 13.47 kB / 459.2 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.2841, allocations: 2.366 MB / 461.6 MB, free: 42.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.2843, allocations: 0.7966 MB / 462.4 MB, free: 41.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.2845, allocations: 63.75 kB / 462.5 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.2846, allocations: 76.62 kB / 462.5 MB, free: 41.48 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2846, allocations: 0 / 462.5 MB, free: 41.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.3001, allocations: 4.871 MB / 467.4 MB, free: 40.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.3003, allocations: 310.4 kB / 467.7 MB, free: 40.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.188, allocations: 11.94 kB / 467.7 MB, free: 40.52 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