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.001507/0.001507, allocations: 104.3 kB / 16.41 MB, free: 6.504 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.001286/0.001286, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.555/1.555, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2059/0.2059, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001534/0.001534, allocations: 67.91 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002913/0.1375, allocations: 1.651 MB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1391, allocations: 0.9159 MB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.358e-05/0.1392, allocations: 8 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1395, allocations: 27.83 kB / 0.4904 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.1397, allocations: 51.69 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.1403, allocations: 143.5 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.1405, allocations: 139.3 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.997e-05/0.1406, allocations: 25.42 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1407, allocations: 51.78 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1408, allocations: 75.61 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1409, allocations: 4 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.1412, allocations: 207.7 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.1413, allocations: 35.89 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.416e-05/0.1414, allocations: 67.55 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.1418, allocations: 243.2 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1418, allocations: 0 / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1418, allocations: 0 / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1418, allocations: 4 kB / 0.4914 GB, free: 8.09 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.0006313/0.1425, allocations: 470.9 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1425, allocations: 15.89 kB / 0.4919 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.1436, allocations: 112.5 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1438, allocations: 220.1 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1439, allocations: 20.36 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.1439, allocations: 12.38 kB / 0.4923 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.1446, allocations: 325.5 kB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1447, allocations: 0 / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1447, allocations: 4 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.1447, allocations: 19.98 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.1455, allocations: 319.6 kB / 0.4929 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.147, allocations: 0.8298 MB / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.1477, allocations: 218.3 kB / 0.4939 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.1479, allocations: 84.81 kB / 0.494 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.148, allocations: 8.031 kB / 0.494 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1481, allocations: 30.56 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.1481, allocations: 0 / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009881/0.1491, allocations: 297.1 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1491, allocations: 51.41 kB / 0.4944 GB, free: 4.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1493, allocations: 195.3 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1493, allocations: 25.7 kB / 0.4946 GB, free: 4.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1494, allocations: 143.5 kB / 0.4947 GB, free: 4.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1495, allocations: 31.55 kB / 0.4947 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.1496, allocations: 53.58 kB / 0.4948 GB, free: 4.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1497, allocations: 322.8 kB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.15, allocations: 87.89 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.1504, allocations: 145.6 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/0.151, allocations: 222.9 kB / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.151, allocations: 0 / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007466/0.1517, allocations: 269.2 kB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1518, allocations: 8 kB / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1518, allocations: 0 / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1518, allocations: 15.86 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.1523, allocations: 79.92 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.1535, allocations: 1.782 MB / 0.4976 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.1538, allocations: 35.7 kB / 0.4977 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.1538, allocations: 11.98 kB / 0.4977 GB, free: 1.328 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.0001457/0.154, allocations: 153.7 kB / 0.4978 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.154, allocations: 11.84 kB / 0.4978 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/0.1549, allocations: 266.8 kB / 0.4981 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1549, allocations: 7.938 kB / 0.4981 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1549, allocations: 0 / 0.4981 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1549, allocations: 0 / 0.4981 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.1552, allocations: 257.4 kB / 0.4983 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1552, allocations: 0 / 0.4983 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.1556, allocations: 67.88 kB / 0.4984 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.1556, allocations: 3.938 kB / 0.4984 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.1557, allocations: 15.97 kB / 0.4984 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.1567, allocations: 1.781 MB / 0.5002 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1567, allocations: 0 / 0.5002 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.1574, allocations: 319.4 kB / 0.5005 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.1575, allocations: 96.91 kB / 0.5006 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.1575, allocations: 0 / 0.5006 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.1578, allocations: 11.98 kB / 0.5006 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.1578, allocations: 11.97 kB / 0.5006 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.1579, allocations: 7.984 kB / 0.5006 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.158, allocations: 140.9 kB / 0.5007 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.158, allocations: 4 kB / 0.5007 GB, free: 14.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.1584, allocations: 55.94 kB / 0.5008 GB, free: 13.97 MB / 398.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.0002597/0.1587, allocations: 127.2 kB / 0.5009 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009354/0.1597, allocations: 235.6 kB / 0.5011 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1597, allocations: 0 / 0.5011 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005028/0.1602, allocations: 127.8 kB / 0.5013 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1605, allocations: 27.86 kB / 0.5013 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009208/0.1614, allocations: 373 kB / 0.5016 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.1619, allocations: 0.7397 MB / 0.5024 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.1621, allocations: 69.44 kB / 0.5024 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.1622, allocations: 31.41 kB / 0.5025 GB, free: 12.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1622, allocations: 4 kB / 0.5025 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Templates: time 0.006994/0.1692, allocations: 2.836 MB / 0.5052 GB, free: 9.367 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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