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: 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_4.0.0_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_4.0.0_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.0008795/0.0008831, allocations: 96.52 kB / 17 MB, free: 6.477 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.001077/0.001077, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.369/1.369, allocations: 223.3 MB / 241.9 MB, free: 324 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.22/0.22, allocations: 44.24 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 9.406 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1238, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002172/0.126, allocations: 1.341 MB / 473 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1274, allocations: 0.803 MB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.1275, allocations: 0 / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1277, allocations: 27.89 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1279, allocations: 43.77 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1282, allocations: 107.7 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1285, allocations: 163.3 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.505e-05/0.1286, allocations: 21.44 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.433e-05/0.1286, allocations: 51.72 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1288, allocations: 71.73 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1288, allocations: 4 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.1292, allocations: 187.7 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.1292, allocations: 39.83 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.1293, allocations: 45.64 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1296, allocations: 163.9 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1296, allocations: 4 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.459e-06/0.1296, allocations: 0 / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.964e-06/0.1296, allocations: 7.875 kB / 474.7 MB, free: 10.57 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.0006782/0.1303, allocations: 450.8 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1303, allocations: 8.031 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.1315, allocations: 111.6 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.1318, allocations: 226.8 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1318, allocations: 11.95 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.1318, allocations: 12 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.1325, allocations: 325.8 kB / 475.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1326, allocations: 0 / 475.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1326, allocations: 8 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.1326, allocations: 19.98 kB / 475.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.1334, allocations: 335.6 kB / 476.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1348, allocations: 0.8298 MB / 477 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.1355, allocations: 218.3 kB / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.1358, allocations: 96.75 kB / 477.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.1359, allocations: 7.984 kB / 477.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1359, allocations: 38.53 kB / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.1359, allocations: 0 / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009673/0.1369, allocations: 309.1 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1369, allocations: 59.39 kB / 477.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1371, allocations: 183.3 kB / 477.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1371, allocations: 25.7 kB / 477.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.1372, allocations: 147.5 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.1373, allocations: 35.48 kB / 478.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/0.1373, allocations: 4 kB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1374, allocations: 326.8 kB / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.1377, allocations: 87.91 kB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.138, allocations: 141.4 kB / 478.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.1383, allocations: 103.8 kB / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1383, allocations: 0 / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007096/0.1391, allocations: 285.1 kB / 479 MB, free: 5.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1391, allocations: 8 kB / 479 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1391, allocations: 0 / 479 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1391, allocations: 7.953 kB / 479 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.1396, allocations: 84.33 kB / 479.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000999/0.1406, allocations: 1.785 MB / 480.9 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1408, allocations: 28.14 kB / 480.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1408, allocations: 15.98 kB / 480.9 MB, free: 3.957 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.141, allocations: 145.7 kB / 481.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.1411, allocations: 27.73 kB / 481.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000811/0.1419, allocations: 270.7 kB / 481.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1419, allocations: 3.953 kB / 481.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1419, allocations: 0 / 481.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1419, allocations: 3.984 kB / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.1422, allocations: 257.5 kB / 481.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1422, allocations: 0 / 481.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.1426, allocations: 75.92 kB / 481.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1426, allocations: 0 / 481.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.1426, allocations: 11.98 kB / 481.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.1438, allocations: 1.789 MB / 483.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1438, allocations: 0 / 483.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.1445, allocations: 331.3 kB / 483.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.1445, allocations: 85.02 kB / 483.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.1446, allocations: 7.984 kB / 483.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.1448, allocations: 4 kB / 483.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.1448, allocations: 23.92 kB / 483.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.1449, allocations: 11.97 kB / 484 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.145, allocations: 139.9 kB / 484.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 0 / 484.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.1454, allocations: 55.84 kB / 484.1 MB, free: 0.5781 MB / 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002671/0.1457, allocations: 131.3 kB / 484.3 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008253/0.1465, allocations: 251.6 kB / 484.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1465, allocations: 0 / 484.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.1469, allocations: 136.3 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1472, allocations: 8 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.148, allocations: 434.2 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1484, allocations: 0.7436 MB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1487, allocations: 65.41 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.1487, allocations: 27.41 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1487, allocations: 0 / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Templates: time 0.006464/0.1552, allocations: 2.58 MB / 488.5 MB, free: 12.2 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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/jenkins/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