Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001128/0.001128, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 82.83 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1185, allocations: 62.43 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003317/0.1219, allocations: 1.665 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1237, allocations: 0.9151 MB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.1238, allocations: 0 / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1241, allocations: 35.83 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.1245, allocations: 47.73 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.1251, allocations: 135.5 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.1254, allocations: 143.3 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.569e-05/0.1255, allocations: 9.453 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1256, allocations: 67.7 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1258, allocations: 63.75 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.1258, allocations: 4 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.1262, allocations: 203.7 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.914e-05/0.1263, allocations: 47.75 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.388e-05/0.1264, allocations: 59.61 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.1269, allocations: 239.5 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1269, allocations: 0 / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1269, allocations: 0 / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1269, allocations: 0 / 483.8 MB, free: 1.551 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.0007319/0.1276, allocations: 477.3 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1277, allocations: 8.031 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.1278, allocations: 50.73 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.129, allocations: 120.5 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1293, allocations: 232 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1293, allocations: 8.375 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.1293, allocations: 8.375 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.1301, allocations: 326.5 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1301, allocations: 0 / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.1301, allocations: 0 / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.1302, allocations: 27.97 kB / 485 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007992/0.131, allocations: 323.7 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.1325, allocations: 0.8297 MB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.1333, allocations: 214.3 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.1336, allocations: 88.8 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1336, allocations: 7.984 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1336, allocations: 38.56 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1336, allocations: 0 / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001075/0.1347, allocations: 289.3 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1348, allocations: 59.34 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.135, allocations: 195.2 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.135, allocations: 29.64 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.1351, allocations: 135.6 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.1352, allocations: 39.39 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/0.1353, allocations: 53.67 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1354, allocations: 322.8 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1357, allocations: 79.91 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.136, allocations: 141.2 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.1367, allocations: 223 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1367, allocations: 4 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008026/0.1375, allocations: 273 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1376, allocations: 4 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1376, allocations: 7.938 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1376, allocations: 0 / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.138, allocations: 87.86 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009765/0.139, allocations: 1.785 MB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.1393, allocations: 19.83 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.1393, allocations: 15.98 kB / 490.2 MB, free: 10.72 MB / 366.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.0001441/0.1395, allocations: 146 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.1395, allocations: 15.75 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/0.1404, allocations: 266.8 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1404, allocations: 0 / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.1404, allocations: 4 kB / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1404, allocations: 0 / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.1407, allocations: 261.5 kB / 490.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1407, allocations: 0 / 490.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.1411, allocations: 71.86 kB / 490.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1411, allocations: 0 / 490.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.1411, allocations: 7.984 kB / 491 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009293/0.1421, allocations: 1.785 MB / 492.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1421, allocations: 3.938 kB / 492.7 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.1428, allocations: 319.4 kB / 493.1 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.1429, allocations: 89 kB / 493.1 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.143, allocations: 4 kB / 493.1 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1432, allocations: 11.92 kB / 493.2 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.1432, allocations: 15.92 kB / 493.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.1433, allocations: 15.97 kB / 493.2 MB, free: 7.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1434, allocations: 139.9 kB / 493.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1434, allocations: 0 / 493.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.1438, allocations: 63.84 kB / 493.4 MB, free: 7.359 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.001217/0.145, allocations: 0.8722 MB / 494.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008916/0.1459, allocations: 243.6 kB / 494.5 MB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.1459, allocations: 4.438 kB / 494.5 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.1464, allocations: 131.8 kB / 494.6 MB, free: 6.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1467, allocations: 15.38 kB / 494.6 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.1504, allocations: 2.333 MB / 497 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1508, allocations: 0.7358 MB / 497.7 MB, free: 2.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.151, allocations: 69.02 kB / 497.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1512, allocations: 59.39 kB / 497.8 MB, free: 2.738 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1512, allocations: 0 / 497.8 MB, free: 2.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.1763, allocations: 4.758 MB / 0.4908 GB, free: 14.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.54, allocations: 3.875 kB / 0.4908 GB, free: 14.18 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.csv","/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches