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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001376/0.001376, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001266/0.001266, allocations: 194 kB / 18.12 MB, free: 5.363 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.353/1.353, allocations: 222.9 MB / 241.8 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 54.36 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1331, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.00383/0.137, allocations: 1.734 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1386, allocations: 0.8103 MB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.1388, allocations: 7.938 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1391, allocations: 27.89 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1393, allocations: 51.73 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1397, allocations: 79.72 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.1401, allocations: 215.1 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.1401, allocations: 17.12 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.1403, allocations: 59.7 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1405, allocations: 71.69 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.1405, allocations: 4 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.1409, allocations: 159.8 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.141, allocations: 43.75 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.1411, allocations: 55.67 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1416, allocations: 203.6 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1416, allocations: 0 / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1416, allocations: 3.938 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1416, allocations: 0 / 472.2 MB, free: 11.19 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007109/0.1423, allocations: 461.9 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1424, allocations: 8.031 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.1424, allocations: 50.73 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005872/0.143, allocations: 68.67 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1433, allocations: 224.1 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1433, allocations: 4.375 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.1434, allocations: 15.94 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.1438, allocations: 239 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1439, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1439, allocations: 7.984 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.1439, allocations: 15.98 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.1444, allocations: 231.8 kB / 473.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1455, allocations: 0.7206 MB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1457, allocations: 94.5 kB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.1459, allocations: 48.81 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1459, allocations: 8.141 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1459, allocations: 38.48 kB / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.146, allocations: 0 / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005043/0.1465, allocations: 161.4 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1465, allocations: 55.41 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1467, allocations: 199.2 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1467, allocations: 25.7 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.1468, allocations: 135.4 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1469, allocations: 23.66 kB / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.1469, allocations: 33.7 kB / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.147, allocations: 322.8 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1472, allocations: 59.94 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1474, allocations: 93.58 kB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.1477, allocations: 158.6 kB / 475.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1477, allocations: 4 kB / 475.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003716/0.1481, allocations: 189.5 kB / 475.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1481, allocations: 8 kB / 475.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1481, allocations: 0 / 475.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1481, allocations: 4 kB / 475.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/0.149, allocations: 124.1 kB / 475.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.1502, allocations: 1.824 MB / 477.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1504, allocations: 31.8 kB / 477.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1504, allocations: 8 kB / 477.8 MB, free: 5.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * 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.000118/0.1505, allocations: 141.9 kB / 477.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.1506, allocations: 11.91 kB / 477.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.151, allocations: 186.7 kB / 478.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.151, allocations: 0 / 478.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.151, allocations: 0 / 478.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.151, allocations: 0 / 478.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1513, allocations: 237.5 kB / 478.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1513, allocations: 0 / 478.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.152, allocations: 103.9 kB / 478.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.152, allocations: 4 kB / 478.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.152, allocations: 0 / 478.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009305/0.153, allocations: 1.789 MB / 480.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.153, allocations: 4.031 kB / 480.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.1534, allocations: 235.2 kB / 480.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.1534, allocations: 92.86 kB / 480.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.1535, allocations: 4 kB / 480.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.1536, allocations: 16.08 kB / 480.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.1537, allocations: 7.984 kB / 480.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1537, allocations: 4 kB / 480.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1538, allocations: 135.9 kB / 480.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1538, allocations: 0 / 480.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1541, allocations: 39.91 kB / 480.8 MB, free: 2.016 MB / 350.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 (11): * Single equations (assignments): 8 * 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.0006902/0.1548, allocations: 0.7882 MB / 481.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.156, allocations: 232 kB / 481.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.156, allocations: 3.938 kB / 481.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.1566, allocations: 124.2 kB / 481.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.157, allocations: 36.12 kB / 482 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.1595, allocations: 2.135 MB / 484.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.1598, allocations: 0.7397 MB / 484.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.1599, allocations: 33.39 kB / 484.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.16, allocations: 39.42 kB / 484.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.16, allocations: 4 kB / 484.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1762, allocations: 4.737 MB / 489.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/0.1765, allocations: 303.8 kB / 489.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/1.985, allocations: 0 / 489.9 MB, free: 8.859 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches