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_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 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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001226/0.001226, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001155/0.001155, allocations: 194 kB / 18.12 MB, free: 5.383 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.52 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.22/0.22, allocations: 44.18 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 59.48 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1294, allocations: 60.83 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003839/0.1333, allocations: 1.973 MB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1352, allocations: 1.126 MB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1354, allocations: 4 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.1358, allocations: 59.66 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.136, allocations: 71.59 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.1365, allocations: 130.7 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.1368, allocations: 322.3 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.858e-05/0.1369, allocations: 40.67 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.1371, allocations: 91.45 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1373, allocations: 131.3 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1373, allocations: 4 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.1379, allocations: 315.5 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/0.138, allocations: 51.7 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1381, allocations: 119.2 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006042/0.1387, allocations: 418.5 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1388, allocations: 4 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1388, allocations: 0 / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1388, allocations: 0 / 473.5 MB, free: 9.914 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.0008664/0.1397, allocations: 0.5737 MB / 474 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1397, allocations: 8.031 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.177e-05/0.1398, allocations: 74.72 kB / 474.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.1399, allocations: 32.56 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1401, allocations: 228 kB / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.1402, allocations: 40.88 kB / 474.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.1402, allocations: 28 kB / 474.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000777/0.141, allocations: 0.4896 MB / 474.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.141, allocations: 0 / 474.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.1411, allocations: 8 kB / 474.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.1411, allocations: 32.98 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006705/0.1418, allocations: 427.7 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.1434, allocations: 1.185 MB / 476.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1436, allocations: 86.47 kB / 476.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1437, allocations: 36.98 kB / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.1438, allocations: 11.97 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1438, allocations: 34.56 kB / 476.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1438, allocations: 0 / 476.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004793/0.1443, allocations: 149.5 kB / 476.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1443, allocations: 63.28 kB / 477 MB, free: 6.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1445, allocations: 165.8 kB / 477.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1445, allocations: 25.7 kB / 477.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1446, allocations: 223.2 kB / 477.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1447, allocations: 27.64 kB / 477.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.1448, allocations: 57.61 kB / 477.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1449, allocations: 318.8 kB / 477.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.145, allocations: 55.95 kB / 477.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.1453, allocations: 168.3 kB / 478 MB, free: 5.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.1456, allocations: 244 kB / 478.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.1456, allocations: 0 / 478.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000464/0.1461, allocations: 245 kB / 478.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1461, allocations: 8 kB / 478.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.1462, allocations: 8.562 kB / 478.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1462, allocations: 12 kB / 478.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.1465, allocations: 91.89 kB / 478.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009837/0.1475, allocations: 1.789 MB / 480.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1477, allocations: 27.75 kB / 480.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.1477, allocations: 16 kB / 480.4 MB, free: 2.504 MB / 350.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.0002482/0.148, allocations: 177.7 kB / 480.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.148, allocations: 11.89 kB / 480.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005122/0.1485, allocations: 202.5 kB / 480.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1486, allocations: 4 kB / 480.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1486, allocations: 0 / 480.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1486, allocations: 0 / 480.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.1489, allocations: 289.5 kB / 481.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.149, allocations: 0 / 481.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1492, allocations: 67.91 kB / 481.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1492, allocations: 0 / 481.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.1492, allocations: 11.94 kB / 481.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.1502, allocations: 1.77 MB / 482.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1502, allocations: 80 / 482.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1506, allocations: 219.7 kB / 483.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1506, allocations: 92.94 kB / 483.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1507, allocations: 0 / 483.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.1507, allocations: 4 kB / 483.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.1508, allocations: 11.98 kB / 483.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1508, allocations: 8 kB / 483.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.601e-05/0.1509, allocations: 115.2 kB / 483.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1509, allocations: 3.938 kB / 483.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.1514, allocations: 103.5 kB / 483.5 MB, free: 15.27 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.0008599/0.1523, allocations: 0.7909 MB / 484.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.1529, allocations: 188 kB / 484.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1529, allocations: 0 / 484.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.1532, allocations: 95.83 kB / 484.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1535, allocations: 12.8 kB / 484.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.1562, allocations: 2.333 MB / 486.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.1566, allocations: 0.7946 MB / 487.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000204/0.1569, allocations: 69.17 kB / 487.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.157, allocations: 71.42 kB / 487.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.157, allocations: 4 kB / 487.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.1819, allocations: 4.954 MB / 492.8 MB, free: 5.988 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.1822, allocations: 312.2 kB / 493.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/1.979, allocations: 0 / 493.1 MB, free: 5.602 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches