Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|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_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|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_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001942/0.001942, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002622/0.002622, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.085/2.085, allocations: 227.4 MB / 246.9 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4703/0.4703, allocations: 46.09 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003129/0.003129, allocations: 80.8 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2225, allocations: 62.44 MB / 480 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.00717/0.2297, allocations: 1.988 MB / 481.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.2337, allocations: 1.157 MB / 483.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.2339, allocations: 0 / 483.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.2345, allocations: 63.66 kB / 483.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.235, allocations: 75.58 kB / 483.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008013/0.2358, allocations: 123.5 kB / 483.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006432/0.2365, allocations: 326.3 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2367, allocations: 37.02 kB / 483.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.2371, allocations: 95.41 kB / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.2374, allocations: 123.3 kB / 483.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.2375, allocations: 8 kB / 483.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.2386, allocations: 315.5 kB / 484.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.2388, allocations: 55.64 kB / 484.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.2391, allocations: 115.2 kB / 484.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008271/0.24, allocations: 299.1 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.24, allocations: 3.984 kB / 484.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.24, allocations: 0 / 484.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.24, allocations: 7.938 kB / 484.7 MB, free: 0.9023 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001745/0.2418, allocations: 0.5622 MB / 485.3 MB, free: 300 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.949e-05/0.2419, allocations: 8.875 kB / 485.3 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.2421, allocations: 40.55 kB / 485.3 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.2426, allocations: 232 kB / 485.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.2427, allocations: 33.12 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.2428, allocations: 35.84 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.2443, allocations: 485.4 kB / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.2443, allocations: 4 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/0.2444, allocations: 23.86 kB / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.448e-05/0.2445, allocations: 32.98 kB / 486.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.246, allocations: 423.7 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.2495, allocations: 1.189 MB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.2499, allocations: 78.53 kB / 487.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.2502, allocations: 40.77 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.2503, allocations: 4 kB / 487.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.2503, allocations: 38.56 kB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 4.769e-06/0.2503, allocations: 0 / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001001/0.2514, allocations: 145.5 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.2515, allocations: 59.39 kB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.2518, allocations: 162.3 kB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.2518, allocations: 33.7 kB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.2521, allocations: 215.4 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.2522, allocations: 35.64 kB / 488.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.2524, allocations: 53.61 kB / 488.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.2526, allocations: 322.8 kB / 488.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.2529, allocations: 55.89 kB / 489 MB, free: 12.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.2533, allocations: 168.3 kB / 489.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007291/0.2541, allocations: 252.3 kB / 489.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.2541, allocations: 0 / 489.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009068/0.255, allocations: 253.3 kB / 489.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.2551, allocations: 8 kB / 489.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.2551, allocations: 4 kB / 489.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.2551, allocations: 4 kB / 489.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.2558, allocations: 91.89 kB / 489.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.2576, allocations: 1.778 MB / 491.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.2579, allocations: 31.73 kB / 491.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.258, allocations: 16 kB / 491.6 MB, free: 9.586 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0006317/0.2586, allocations: 181.9 kB / 491.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.2587, allocations: 11.91 kB / 491.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.2597, allocations: 198 kB / 491.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.2598, allocations: 3.938 kB / 491.9 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.2598, allocations: 7.938 kB / 492 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2598, allocations: 0 / 492 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/0.2607, allocations: 281.6 kB / 492.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.2607, allocations: 0 / 492.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.2612, allocations: 67.97 kB / 492.3 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.2612, allocations: 0 / 492.3 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.2613, allocations: 12 kB / 492.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.2633, allocations: 1.774 MB / 494.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.2634, allocations: 3.938 kB / 494.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.264, allocations: 219.4 kB / 494.3 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2642, allocations: 88.95 kB / 494.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.2642, allocations: 8.094 kB / 494.4 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2644, allocations: 7.984 kB / 494.4 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2645, allocations: 8 kB / 494.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.2646, allocations: 4 kB / 494.4 MB, free: 6.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.2648, allocations: 118.5 kB / 494.5 MB, free: 6.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2648, allocations: 0 / 494.5 MB, free: 6.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009997/0.2658, allocations: 95.58 kB / 494.6 MB, free: 6.355 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.0007102/0.2666, allocations: 143.2 kB / 494.8 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2676, allocations: 184.1 kB / 494.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.2676, allocations: 0 / 494.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.2682, allocations: 95.81 kB / 495 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.2687, allocations: 12.3 kB / 495 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.2707, allocations: 0.6222 MB / 495.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.2715, allocations: 0.7868 MB / 496.5 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2717, allocations: 23.44 kB / 496.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2717, allocations: 0 / 496.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of Templates: time 0.02063/0.2923, allocations: 6.958 MB / 0.4916 GB, free: 13.48 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches