Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000919/0.000919, allocations: 99.08 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.7 MB / 246.4 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 46.18 MB / 344.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002685, allocations: 8 kB / 418.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 63.56 MB / 482.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002369/0.1298, allocations: 1.385 MB / 483.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1312, allocations: 0.768 MB / 484.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.1313, allocations: 0 / 484.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.1315, allocations: 31.83 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1317, allocations: 43.8 kB / 484.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.1319, allocations: 75.73 kB / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1322, allocations: 187.2 kB / 484.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.1322, allocations: 21.09 kB / 484.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1324, allocations: 59.72 kB / 485 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1325, allocations: 71.75 kB / 485.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1326, allocations: 4 kB / 485.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.1329, allocations: 147.8 kB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.1329, allocations: 43.83 kB / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.133, allocations: 53.58 kB / 485.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.1332, allocations: 135.8 kB / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1332, allocations: 0 / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1332, allocations: 0 / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1332, allocations: 0 / 485.4 MB, free: 1.469 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006901/0.1339, allocations: 450.8 kB / 485.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.134, allocations: 8.031 kB / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004856/0.1345, allocations: 59.75 kB / 485.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.1348, allocations: 214.8 kB / 486.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1348, allocations: 12 kB / 486.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1348, allocations: 12 kB / 486.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.1353, allocations: 230 kB / 486.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1354, allocations: 0 / 486.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.1354, allocations: 12 kB / 486.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.1354, allocations: 15.98 kB / 486.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.1359, allocations: 239.5 kB / 486.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1369, allocations: 0.7326 MB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.1372, allocations: 106.4 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.1373, allocations: 48.81 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1373, allocations: 4.141 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1374, allocations: 38.56 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1374, allocations: 0 / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000558/0.1379, allocations: 185.3 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.138, allocations: 51.41 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.1382, allocations: 181 kB / 488 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1383, allocations: 33.7 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.1384, allocations: 135.5 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1384, allocations: 27.64 kB / 488.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.1384, allocations: 0 / 488.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1386, allocations: 326.8 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1387, allocations: 47.95 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.1389, allocations: 114 kB / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.139, allocations: 67.89 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.139, allocations: 0 / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000376/0.1394, allocations: 197.2 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1395, allocations: 8 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1395, allocations: 3.938 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1395, allocations: 4 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.1403, allocations: 112.1 kB / 489 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.1415, allocations: 1.809 MB / 490.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1417, allocations: 23.83 kB / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.1417, allocations: 8 kB / 490.9 MB, free: 11.66 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 (14): * Single equations (assignments): 11 * 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.0001373/0.1419, allocations: 149.9 kB / 491 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.1419, allocations: 11.86 kB / 491 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/0.1424, allocations: 194.7 kB / 491.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1424, allocations: 0 / 491.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1424, allocations: 0 / 491.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1424, allocations: 7.984 kB / 491.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.1427, allocations: 225.6 kB / 491.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1427, allocations: 4 kB / 491.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.1433, allocations: 95.89 kB / 491.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.1433, allocations: 7.953 kB / 491.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1434, allocations: 0 / 491.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000955/0.1443, allocations: 1.777 MB / 493.3 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1443, allocations: 4.031 kB / 493.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.1447, allocations: 251.5 kB / 493.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.1448, allocations: 92.86 kB / 493.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.1448, allocations: 7.953 kB / 493.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.145, allocations: 11.98 kB / 493.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.145, allocations: 11.98 kB / 493.7 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.145, allocations: 4 kB / 493.7 MB, free: 8.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1451, allocations: 137.8 kB / 493.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1452, allocations: 0 / 493.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.1455, allocations: 43.91 kB / 493.9 MB, free: 8.48 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 (11): * Single equations (assignments): 8 * 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.0001956/0.1457, allocations: 119 kB / 494 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1467, allocations: 220.1 kB / 494.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1467, allocations: 0 / 494.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000576/0.1473, allocations: 119.8 kB / 494.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.1477, allocations: 40.34 kB / 494.4 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.1483, allocations: 396.1 kB / 494.8 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1486, allocations: 0.7396 MB / 495.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.1488, allocations: 37.34 kB / 495.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.1488, allocations: 19.44 kB / 495.6 MB, free: 6.758 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1488, allocations: 4 kB / 495.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of Templates: time 0.006173/0.155, allocations: 2.819 MB / 498.4 MB, free: 3.988 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches