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.0008499/0.0008498, allocations: 91.72 kB / 17.35 MB, free: 6.031 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.0009914/0.0009915, allocations: 177.4 kB / 18.26 MB, free: 5.391 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.28/1.28, allocations: 223.3 MB / 242.3 MB, free: 72 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2041/0.2041, allocations: 44.25 MB / 337.7 MB, free: 2.625 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003283, allocations: 12.67 kB / 410.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1192, allocations: 61.92 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.00197/0.1212, allocations: 1.364 MB / 473.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1228, allocations: 0.8687 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.1229, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.1231, allocations: 43.83 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.1233, allocations: 39.8 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.1238, allocations: 119.6 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.1241, allocations: 187.2 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.1242, allocations: 13.45 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.1243, allocations: 59.72 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.1244, allocations: 63.73 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1244, allocations: 7.938 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.1248, allocations: 199.7 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.1249, allocations: 43.83 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.125, allocations: 81.31 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.1254, allocations: 239.4 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1254, allocations: 0 / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1254, allocations: 0 / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1254, allocations: 0 / 475.7 MB, free: 9.863 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.0006269/0.1261, allocations: 455 kB / 476.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1261, allocations: 12.03 kB / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.1262, allocations: 46.73 kB / 476.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.1273, allocations: 116.5 kB / 476.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1276, allocations: 232 kB / 476.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1276, allocations: 8.359 kB / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.1277, allocations: 16.38 kB / 476.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.1283, allocations: 337.9 kB / 476.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1284, allocations: 0 / 476.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.1284, allocations: 4 kB / 476.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.1284, allocations: 19.98 kB / 476.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.1292, allocations: 327.7 kB / 477.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1307, allocations: 0.8299 MB / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.1314, allocations: 226.3 kB / 478.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.1318, allocations: 92.81 kB / 478.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1318, allocations: 7.984 kB / 478.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1318, allocations: 30.56 kB / 478.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1318, allocations: 3.938 kB / 478.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001072/0.1329, allocations: 317.2 kB / 478.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.133, allocations: 59.34 kB / 478.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1332, allocations: 179.3 kB / 479 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.1332, allocations: 33.7 kB / 479 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.1333, allocations: 139.5 kB / 479.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.1334, allocations: 43.39 kB / 479.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.1334, allocations: 21.72 kB / 479.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1336, allocations: 322.8 kB / 479.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.1339, allocations: 91.89 kB / 479.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.1342, allocations: 138.8 kB / 479.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.1348, allocations: 234.6 kB / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1348, allocations: 0 / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007442/0.1356, allocations: 281.2 kB / 480.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1356, allocations: 7.938 kB / 480.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.1356, allocations: 7.938 kB / 480.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1357, allocations: 224 / 480.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.1361, allocations: 92.33 kB / 480.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.1371, allocations: 1.785 MB / 482.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.1374, allocations: 23.73 kB / 482.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.1374, allocations: 19.97 kB / 482.2 MB, free: 2.988 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.0001911/0.1376, allocations: 145.8 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.1377, allocations: 15.78 kB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008468/0.1385, allocations: 270.8 kB / 482.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1386, allocations: 4 kB / 482.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1386, allocations: 4 kB / 482.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1386, allocations: 0 / 482.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.1389, allocations: 261.4 kB / 482.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.139, allocations: 0 / 482.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.1393, allocations: 71.86 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1393, allocations: 4 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.1394, allocations: 7.984 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008679/0.1402, allocations: 1.781 MB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1402, allocations: 4.219 kB / 484.7 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.141, allocations: 327.2 kB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.141, allocations: 85.02 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.1411, allocations: 8 kB / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.1413, allocations: 11.98 kB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.1413, allocations: 15.91 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1414, allocations: 15.98 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1415, allocations: 139.9 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1415, allocations: 0 / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.1419, allocations: 63.84 kB / 485.4 MB, free: 15.62 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 (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.001156/0.1431, allocations: 0.8957 MB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008404/0.1439, allocations: 248 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1439, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.1444, allocations: 139.8 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1447, allocations: 11.94 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.1483, allocations: 2.423 MB / 489.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1486, allocations: 0.7358 MB / 489.8 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.1488, allocations: 69.44 kB / 489.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.149, allocations: 63.38 kB / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.149, allocations: 0 / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.1668, allocations: 4.407 MB / 494.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.1671, allocations: 297.1 kB / 494.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/1.983, allocations: 0 / 494.7 MB, free: 6.332 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