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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001287/0.001287, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001098/0.001098, allocations: 192 kB / 18.56 MB, free: 4.562 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.296/1.296, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2019/0.2019, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 59.88 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.004217/0.1413, allocations: 1.654 MB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1432, allocations: 0.8763 MB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.1433, allocations: 4 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1436, allocations: 31.83 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.1439, allocations: 47.73 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.1446, allocations: 139.5 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.1449, allocations: 135.3 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.461e-05/0.145, allocations: 13.44 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1451, allocations: 59.72 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.1453, allocations: 71.73 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.1454, allocations: 4 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.1459, allocations: 203.7 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.146, allocations: 39.83 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1461, allocations: 59.61 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.1467, allocations: 243.4 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1467, allocations: 0 / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1467, allocations: 0 / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1467, allocations: 0 / 472.9 MB, free: 10.66 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007572/0.1475, allocations: 475 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1475, allocations: 8.031 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.057e-05/0.1476, allocations: 50.73 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.1492, allocations: 116.5 kB / 473.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.1495, allocations: 231.9 kB / 473.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.1496, allocations: 16.36 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.1496, allocations: 12.38 kB / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/0.1505, allocations: 329.4 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1506, allocations: 3.938 kB / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.1506, allocations: 0 / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.1507, allocations: 23.98 kB / 474.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.1518, allocations: 319.7 kB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.1537, allocations: 0.8259 MB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1548, allocations: 214.3 kB / 475.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.1553, allocations: 92.78 kB / 475.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1553, allocations: 0 / 475.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1554, allocations: 42.56 kB / 475.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1554, allocations: 0 / 475.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001527/0.1569, allocations: 289.3 kB / 475.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.157, allocations: 55.41 kB / 476 MB, free: 7.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1572, allocations: 185.8 kB / 476.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.1573, allocations: 29.7 kB / 476.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1574, allocations: 147.5 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.1574, allocations: 39.39 kB / 476.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1576, allocations: 49.67 kB / 476.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1578, allocations: 322.8 kB / 476.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.1582, allocations: 83.91 kB / 476.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.1588, allocations: 142.8 kB / 477 MB, free: 6.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009673/0.1597, allocations: 218.9 kB / 477.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1598, allocations: 4 kB / 477.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001188/0.161, allocations: 273.2 kB / 477.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.161, allocations: 4 kB / 477.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.161, allocations: 11.88 kB / 477.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.161, allocations: 0 / 477.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.1617, allocations: 87.86 kB / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.1629, allocations: 1.785 MB / 479.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.1633, allocations: 19.83 kB / 479.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.1633, allocations: 15.98 kB / 479.4 MB, free: 3.828 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 (17): * Single equations (assignments): 14 * 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.0001846/0.1635, allocations: 145.9 kB / 479.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.1636, allocations: 15.75 kB / 479.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.1648, allocations: 262.8 kB / 479.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1649, allocations: 0 / 479.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1649, allocations: 4 kB / 479.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1649, allocations: 4 kB / 479.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.1653, allocations: 253.5 kB / 480 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1654, allocations: 0 / 480 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.1659, allocations: 75.86 kB / 480.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1659, allocations: 4 kB / 480.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.166, allocations: 8.078 kB / 480.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.1674, allocations: 1.789 MB / 481.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1674, allocations: 0 / 481.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.1686, allocations: 323.3 kB / 482.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.1687, allocations: 89 kB / 482.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.1687, allocations: 0 / 482.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.169, allocations: 7.984 kB / 482.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1692, allocations: 11.98 kB / 482.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.1692, allocations: 11.97 kB / 482.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1694, allocations: 148.1 kB / 482.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1694, allocations: 0 / 482.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006079/0.17, allocations: 63.84 kB / 482.6 MB, free: 488 kB / 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 (10): * Single equations (assignments): 7 * 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.001517/0.1715, allocations: 0.8722 MB / 483.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.1727, allocations: 243.6 kB / 483.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1727, allocations: 0 / 483.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006701/0.1734, allocations: 140.6 kB / 483.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.1738, allocations: 12.12 kB / 483.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005538/0.1794, allocations: 2.334 MB / 486.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.1801, allocations: 0.7358 MB / 486.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004001/0.1805, allocations: 69.02 kB / 487 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.1807, allocations: 59.39 kB / 487 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.479e-06/0.1807, allocations: 0 / 487 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/0.2874, allocations: 4.766 MB / 491.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.28, allocations: 15.56 kB / 491.8 MB, free: 7.285 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches