Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 102 kB / 15.98 MB, free: 6.344 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.001027/0.001027, allocations: 194.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4166/0.4166, allocations: 43.5 MB / 313.6 MB, free: 8.516 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.89 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1497, allocations: 57.79 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002988/0.1528, allocations: 1.707 MB / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1543, allocations: 0.9046 MB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.1544, allocations: 4 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1546, allocations: 27.89 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.1548, allocations: 55.69 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1552, allocations: 115.7 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1553, allocations: 139.3 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.1554, allocations: 21.72 kB / 443 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.1555, allocations: 51.78 kB / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1556, allocations: 79.61 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1556, allocations: 4 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.156, allocations: 207.6 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.156, allocations: 31.91 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.1561, allocations: 63.55 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.1565, allocations: 247.1 kB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1565, allocations: 0 / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1565, allocations: 0 / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1565, allocations: 4 kB / 443.7 MB, free: 11.04 MB / 382.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.0006512/0.1572, allocations: 478.8 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1572, allocations: 11.89 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.1584, allocations: 116.5 kB / 444.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1587, allocations: 220.2 kB / 444.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1587, allocations: 4.375 kB / 444.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.1587, allocations: 20.34 kB / 444.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.1594, allocations: 337.5 kB / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1594, allocations: 0 / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.1595, allocations: 15.97 kB / 444.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.1595, allocations: 23.98 kB / 444.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.1603, allocations: 315.7 kB / 445.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.1619, allocations: 0.8297 MB / 446 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.1626, allocations: 222.3 kB / 446.2 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.1629, allocations: 84.81 kB / 446.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.163, allocations: 8 kB / 446.3 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.163, allocations: 30.56 kB / 446.3 MB, free: 8.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.163, allocations: 0 / 446.3 MB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001032/0.164, allocations: 301.2 kB / 446.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1641, allocations: 51.41 kB / 446.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1643, allocations: 187.3 kB / 446.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1643, allocations: 29.7 kB / 446.9 MB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.908e-05/0.1644, allocations: 135.7 kB / 447 MB, free: 7.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.1645, allocations: 43.47 kB / 447.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.1646, allocations: 57.58 kB / 447.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1647, allocations: 322.8 kB / 447.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.165, allocations: 87.83 kB / 447.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.1653, allocations: 138.7 kB / 447.7 MB, free: 6.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/0.166, allocations: 226.6 kB / 447.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.166, allocations: 0 / 447.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007227/0.1667, allocations: 265.2 kB / 448.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1667, allocations: 4 kB / 448.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1667, allocations: 4 kB / 448.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1668, allocations: 7.938 kB / 448.2 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.1672, allocations: 75.92 kB / 448.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009595/0.1682, allocations: 1.793 MB / 450 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1684, allocations: 23.73 kB / 450.1 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1685, allocations: 15.98 kB / 450.1 MB, free: 4.258 MB / 382.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.0001405/0.1686, allocations: 142.1 kB / 450.2 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.1687, allocations: 15.84 kB / 450.2 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007867/0.1695, allocations: 262.8 kB / 450.5 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.1695, allocations: 4.094 kB / 450.5 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1695, allocations: 7.875 kB / 450.5 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1695, allocations: 0 / 450.5 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1698, allocations: 257.4 kB / 450.7 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1698, allocations: 3.938 kB / 450.8 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.1702, allocations: 67.94 kB / 450.8 MB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1702, allocations: 3.938 kB / 450.8 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.1702, allocations: 7.984 kB / 450.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009102/0.1711, allocations: 1.781 MB / 452.6 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1711, allocations: 0 / 452.6 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.1718, allocations: 319.4 kB / 452.9 MB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.1719, allocations: 92.91 kB / 453 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.172, allocations: 4 kB / 453 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1722, allocations: 7.984 kB / 453 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.1722, allocations: 19.97 kB / 453 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.1723, allocations: 11.98 kB / 453.1 MB, free: 1.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1724, allocations: 144.9 kB / 453.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1724, allocations: 0 / 453.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.1727, allocations: 59.94 kB / 453.3 MB, free: 0.9023 MB / 382.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.0002397/0.173, allocations: 134.9 kB / 453.4 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.1739, allocations: 251.6 kB / 453.6 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1739, allocations: 0 / 453.6 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004459/0.1743, allocations: 124.2 kB / 453.8 MB, free: 404 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1746, allocations: 20.55 kB / 453.8 MB, free: 384 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2253/0.3999, allocations: 441.7 kB / 454.2 MB, free: 49.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.4002, allocations: 0.7372 MB / 454.9 MB, free: 48.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.4005, allocations: 64.77 kB / 455 MB, free: 48.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4006, allocations: 26.77 kB / 455 MB, free: 48.85 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4006, allocations: 2.312 kB / 455 MB, free: 48.85 MB / 382.1 MB Notification: Performance of Templates: time 0.006643/0.4073, allocations: 2.732 MB / 457.8 MB, free: 48.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches