Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 198.2 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008919/0.000892, allocations: 98.38 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1794/0.1794, allocations: 44.83 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002398/0.0002398, allocations: 8 kB / 464.8 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08759, allocations: 62.95 MB / 0.5153 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.001925/0.08956, allocations: 1.593 MB / 0.5169 GB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.09094, allocations: 1.037 MB / 0.5179 GB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.091, allocations: 4 kB / 0.5179 GB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.09123, allocations: 55.67 kB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1668/0.2581, allocations: 61.16 kB / 0.518 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.2586, allocations: 120.4 kB / 0.5181 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.259, allocations: 289.2 kB / 0.5184 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.2591, allocations: 39.56 kB / 0.5185 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.2593, allocations: 96.44 kB / 0.5186 GB, free: 9.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.2595, allocations: 115.5 kB / 0.5187 GB, free: 9.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.2595, allocations: 5.844 kB / 0.5187 GB, free: 9.758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005555/0.2601, allocations: 304.5 kB / 0.519 GB, free: 9.746 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.978e-05/0.2602, allocations: 53.05 kB / 0.519 GB, free: 9.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.877e-05/0.2603, allocations: 70.95 kB / 0.5191 GB, free: 9.688 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.2607, allocations: 299.5 kB / 0.5194 GB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2607, allocations: 0 / 0.5194 GB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2607, allocations: 0.5938 kB / 0.5194 GB, free: 9.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.2607, allocations: 0 / 0.5194 GB, free: 9.645 MB / 346.7 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.000627/0.2614, allocations: 0.5242 MB / 0.5199 GB, free: 9.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2614, allocations: 10.05 kB / 0.5199 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.2615, allocations: 34.47 kB / 0.5199 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.2617, allocations: 233.7 kB / 0.5201 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.2617, allocations: 27.7 kB / 0.5202 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.2618, allocations: 37.47 kB / 0.5202 GB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.2625, allocations: 0.4887 MB / 0.5207 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2625, allocations: 0 / 0.5207 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.2626, allocations: 15.2 kB / 0.5207 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.2626, allocations: 28.08 kB / 0.5207 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.2633, allocations: 431.4 kB / 0.5211 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2646, allocations: 1.196 MB / 0.5223 GB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.2648, allocations: 90.58 kB / 0.5224 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.2649, allocations: 46.59 kB / 0.5224 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.2649, allocations: 4.188 kB / 0.5224 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.265, allocations: 31.81 kB / 0.5225 GB, free: 8.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.265, allocations: 0 / 0.5225 GB, free: 8.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005026/0.2655, allocations: 167.4 kB / 0.5226 GB, free: 8.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.2655, allocations: 56.47 kB / 0.5227 GB, free: 8.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2656, allocations: 167.7 kB / 0.5228 GB, free: 7.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2657, allocations: 26.7 kB / 0.5229 GB, free: 7.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.2657, allocations: 225.9 kB / 0.5231 GB, free: 7.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.2658, allocations: 26.31 kB / 0.5231 GB, free: 7.684 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.2658, allocations: 6.188 kB / 0.5231 GB, free: 7.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.2658, allocations: 325.2 kB / 0.5234 GB, free: 7.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.266, allocations: 56.09 kB / 0.5235 GB, free: 7.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.2662, allocations: 177.1 kB / 0.5236 GB, free: 7.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.2664, allocations: 86.19 kB / 0.5237 GB, free: 7.203 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2664, allocations: 0.9062 kB / 0.5237 GB, free: 7.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000452/0.2668, allocations: 262.9 kB / 0.524 GB, free: 7.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2669, allocations: 8.188 kB / 0.524 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2669, allocations: 5.672 kB / 0.524 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2669, allocations: 6.375 kB / 0.524 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.2672, allocations: 92.2 kB / 0.5241 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/0.2678, allocations: 1.78 MB / 0.5258 GB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.2679, allocations: 27.34 kB / 0.5258 GB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2679, allocations: 17.62 kB / 0.5259 GB, free: 5.359 MB / 346.7 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 (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.0001964/0.2681, allocations: 188.3 kB / 0.526 GB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.2682, allocations: 14.75 kB / 0.5261 GB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005453/0.2687, allocations: 203.2 kB / 0.5263 GB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2687, allocations: 0.9688 kB / 0.5263 GB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2688, allocations: 5.125 kB / 0.5263 GB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2688, allocations: 0.75 kB / 0.5263 GB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.2691, allocations: 300 kB / 0.5265 GB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2691, allocations: 0.7969 kB / 0.5265 GB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.2693, allocations: 63.56 kB / 0.5266 GB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2694, allocations: 1.531 kB / 0.5266 GB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2694, allocations: 3.156 kB / 0.5266 GB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004691/0.2698, allocations: 1.777 MB / 0.5283 GB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2699, allocations: 0 / 0.5283 GB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.2702, allocations: 229.3 kB / 0.5286 GB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.2702, allocations: 86.06 kB / 0.5286 GB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.2702, allocations: 1.328 kB / 0.5286 GB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.2703, allocations: 17.52 kB / 0.5287 GB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2704, allocations: 12.06 kB / 0.5287 GB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2704, allocations: 5.5 kB / 0.5287 GB, free: 2.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.485e-05/0.2705, allocations: 112.8 kB / 0.5288 GB, free: 2.879 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2705, allocations: 0 / 0.5288 GB, free: 2.879 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004567/0.2709, allocations: 100.2 kB / 0.5289 GB, free: 2.852 MB / 346.7 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 (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.0002859/0.2712, allocations: 142.8 kB / 0.529 GB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.2718, allocations: 193.6 kB / 0.5292 GB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2718, allocations: 1.031 kB / 0.5292 GB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.2721, allocations: 98.02 kB / 0.5293 GB, free: 2.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.2723, allocations: 15.81 kB / 0.5293 GB, free: 2.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.2731, allocations: 0.6055 MB / 0.5299 GB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.2733, allocations: 0.7919 MB / 0.5307 GB, free: 1.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.2734, allocations: 21.73 kB / 0.5307 GB, free: 1.629 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2734, allocations: 0 / 0.5307 GB, free: 1.629 MB / 346.7 MB Notification: Performance of Templates: time 0.009965/0.2833, allocations: 6.935 MB / 0.5375 GB, free: 8 kB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches