Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 113.4 kB / 17.99 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3604/0.3604, allocations: 46.1 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 71.91 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1138, allocations: 62.46 MB / 480.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003362/0.1172, allocations: 1.887 MB / 482.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1184, allocations: 0.6309 MB / 482.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1185, allocations: 4 kB / 482.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.1189, allocations: 43.75 kB / 482.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1191, allocations: 63.66 kB / 482.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1195, allocations: 99.69 kB / 482.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.1198, allocations: 234.7 kB / 483.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.303e-05/0.1199, allocations: 28.3 kB / 483.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1201, allocations: 83.58 kB / 483.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1202, allocations: 111.4 kB / 483.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1203, allocations: 8 kB / 483.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.1207, allocations: 227.7 kB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.1208, allocations: 63.69 kB / 483.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1209, allocations: 95.36 kB / 483.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.1212, allocations: 227.7 kB / 484 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1212, allocations: 3.938 kB / 484 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1213, allocations: 0 / 484 MB, free: 1.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1213, allocations: 3.938 kB / 484 MB, free: 1.793 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007328/0.122, allocations: 0.5227 MB / 484.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1221, allocations: 16.03 kB / 484.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.124, allocations: 196.3 kB / 484.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1244, allocations: 268 kB / 485 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.1244, allocations: 12.94 kB / 485 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.1245, allocations: 24.38 kB / 485 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009761/0.1255, allocations: 0.5046 MB / 485.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1255, allocations: 0 / 485.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.1255, allocations: 12 kB / 485.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.1256, allocations: 24.55 kB / 485.5 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1268, allocations: 0.5799 MB / 486.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.1291, allocations: 1.165 MB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.1298, allocations: 178.3 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.1302, allocations: 88.75 kB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.1302, allocations: 4 kB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1302, allocations: 30.56 kB / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.1302, allocations: 0 / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001215/0.1314, allocations: 293.2 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1315, allocations: 55.39 kB / 487.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1318, allocations: 286.4 kB / 488.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1318, allocations: 29.7 kB / 488.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1319, allocations: 171.7 kB / 488.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.132, allocations: 27.64 kB / 488.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.1321, allocations: 37.62 kB / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1322, allocations: 338.8 kB / 488.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.1326, allocations: 91.89 kB / 488.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.133, allocations: 107.3 kB / 489 MB, free: 12.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.1337, allocations: 211.2 kB / 489.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1337, allocations: 11.94 kB / 489.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008816/0.1346, allocations: 269 kB / 489.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1346, allocations: 8.094 kB / 489.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1347, allocations: 0 / 489.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1347, allocations: 4 kB / 489.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006527/0.1412, allocations: 463.3 kB / 489.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/0.1442, allocations: 1.945 MB / 491.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.1447, allocations: 47.84 kB / 491.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.1447, allocations: 7.984 kB / 491.9 MB, free: 9.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001895/0.1449, allocations: 153.7 kB / 492.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.145, allocations: 23.7 kB / 492.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.1451, allocations: 25.7 kB / 492.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1451, allocations: 4 kB / 492.1 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1451, allocations: 0 / 492.1 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1451, allocations: 4 kB / 492.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.1455, allocations: 297.4 kB / 492.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1455, allocations: 0 / 492.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006386/0.1519, allocations: 447.3 kB / 492.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.1519, allocations: 0 / 492.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.152, allocations: 11.98 kB / 492.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.1549, allocations: 1.945 MB / 494.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1549, allocations: 0 / 494.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/0.1557, allocations: 323.1 kB / 495.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.1558, allocations: 92.91 kB / 495.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.1559, allocations: 4 kB / 495.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.1563, allocations: 19.97 kB / 495.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.1564, allocations: 11.97 kB / 495.3 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.1564, allocations: 7.984 kB / 495.3 MB, free: 5.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.1566, allocations: 209.9 kB / 495.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1566, allocations: 4 kB / 495.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.157, allocations: 71.84 kB / 495.5 MB, free: 5.688 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 (7): * Single equations (assignments): 4 * 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.0002221/0.1572, allocations: 111.1 kB / 495.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006723/0.164, allocations: 0.5967 MB / 496.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.164, allocations: 288 / 496.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006124/0.1701, allocations: 0.4916 MB / 496.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.1706, allocations: 44.53 kB / 496.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1718, allocations: 0.5786 MB / 497.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1722, allocations: 0.7714 MB / 498.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1723, allocations: 27.42 kB / 498.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1723, allocations: 0 / 498.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of Templates: time 0.008933/0.1812, allocations: 6.635 MB / 0.493 GB, free: 12.39 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches