Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0008657/0.000866, allocations: 174.2 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006821/0.0006821, allocations: 86.34 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2913/0.2913, allocations: 43.56 MB / 363.1 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 12 kB / 432.1 MB, free: 5.691 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09224, allocations: 58.84 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.001818/0.0941, allocations: 1.594 MB / 492.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.09555, allocations: 1.053 MB / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.09562, allocations: 0 / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.09587, allocations: 59.66 kB / 493.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.09605, allocations: 67.59 kB / 493.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.09637, allocations: 131.5 kB / 493.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.09665, allocations: 290.3 kB / 494.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.338e-05/0.09672, allocations: 36.72 kB / 494.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.09685, allocations: 95.45 kB / 494.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.097, allocations: 111.4 kB / 494.4 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.09703, allocations: 12 kB / 494.4 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.09746, allocations: 307.5 kB / 494.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.09752, allocations: 51.7 kB / 494.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.09763, allocations: 129 kB / 494.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.09795, allocations: 299.4 kB / 495.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09796, allocations: 0 / 495.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09797, allocations: 0 / 495.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.09798, allocations: 0 / 495.1 MB, free: 6.531 MB / 378.7 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.000582/0.09857, allocations: 0.5308 MB / 495.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.09861, allocations: 8.031 kB / 495.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.09868, allocations: 78.72 kB / 495.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.09873, allocations: 32.56 kB / 495.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.09894, allocations: 232 kB / 496 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.09897, allocations: 36.86 kB / 496 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.09901, allocations: 28 kB / 496.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.09967, allocations: 0.4935 MB / 496.6 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.09969, allocations: 0 / 496.6 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.09972, allocations: 16 kB / 496.6 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.09976, allocations: 24.98 kB / 496.6 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005807/0.1003, allocations: 439.7 kB / 497 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1016, allocations: 1.189 MB / 498.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1018, allocations: 82.52 kB / 498.3 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1019, allocations: 48.83 kB / 498.4 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1019, allocations: 4 kB / 498.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.102, allocations: 38.55 kB / 498.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.102, allocations: 0 / 498.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004317/0.1024, allocations: 173.6 kB / 498.6 MB, free: 2.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1025, allocations: 55.34 kB / 498.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1026, allocations: 166.3 kB / 498.8 MB, free: 2.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1026, allocations: 25.7 kB / 498.8 MB, free: 2.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1027, allocations: 219.2 kB / 499 MB, free: 2.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1027, allocations: 27.66 kB / 499 MB, free: 2.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/0.1027, allocations: 0 / 499 MB, free: 2.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.1028, allocations: 326.8 kB / 499.4 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.103, allocations: 55.95 kB / 499.4 MB, free: 1.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1032, allocations: 187.7 kB / 499.6 MB, free: 1.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.1035, allocations: 252 kB / 499.9 MB, free: 1.422 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1035, allocations: 4 kB / 499.9 MB, free: 1.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004199/0.104, allocations: 261 kB / 0.4884 GB, free: 1.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.104, allocations: 8.562 kB / 0.4884 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.104, allocations: 8 kB / 0.4884 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.104, allocations: 4 kB / 0.4884 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.1043, allocations: 95.83 kB / 0.4885 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1592/0.2635, allocations: 1.781 MB / 0.4902 GB, free: 42.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2638, allocations: 28.31 kB / 0.4903 GB, free: 42.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.2638, allocations: 14.84 kB / 0.4903 GB, free: 42.01 MB / 378.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002443/0.2641, allocations: 179.1 kB / 0.4905 GB, free: 41.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.2641, allocations: 14.03 kB / 0.4905 GB, free: 41.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/0.2647, allocations: 201.3 kB / 0.4907 GB, free: 41.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2647, allocations: 1.703 kB / 0.4907 GB, free: 41.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2647, allocations: 8.562 kB / 0.4907 GB, free: 41.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2647, allocations: 3.422 kB / 0.4907 GB, free: 41.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.265, allocations: 288.8 kB / 0.4909 GB, free: 41.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.265, allocations: 2.25 kB / 0.4909 GB, free: 41.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.2653, allocations: 62.55 kB / 0.491 GB, free: 41.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2653, allocations: 0 / 0.491 GB, free: 41.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2653, allocations: 6.172 kB / 0.491 GB, free: 41.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004873/0.2658, allocations: 1.779 MB / 0.4928 GB, free: 39.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2658, allocations: 3.938 kB / 0.4928 GB, free: 39.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.2661, allocations: 233 kB / 0.493 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.2662, allocations: 84.5 kB / 0.4931 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.2662, allocations: 5.312 kB / 0.4931 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.2663, allocations: 11.53 kB / 0.4931 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.2663, allocations: 13.28 kB / 0.4931 GB, free: 39.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2664, allocations: 5.016 kB / 0.4931 GB, free: 39.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/0.2664, allocations: 113.1 kB / 0.4932 GB, free: 39.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2664, allocations: 0 / 0.4932 GB, free: 39.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004396/0.2669, allocations: 103.8 kB / 0.4933 GB, free: 39.63 MB / 378.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006449/0.2675, allocations: 0.8055 MB / 0.4941 GB, free: 38.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005358/0.2681, allocations: 194.1 kB / 0.4943 GB, free: 38.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2681, allocations: 0 / 0.4943 GB, free: 38.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.2684, allocations: 102.1 kB / 0.4944 GB, free: 38.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.2687, allocations: 15.06 kB / 0.4944 GB, free: 38.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.2703, allocations: 1.233 MB / 0.4956 GB, free: 38.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.2706, allocations: 0.7972 MB / 0.4964 GB, free: 37.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2707, allocations: 76.38 kB / 0.4964 GB, free: 37.55 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.2707, allocations: 0 / 0.4964 GB, free: 37.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.319/3.59, allocations: 7.775 MB / 0.504 GB, free: 36.95 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches