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.001372/0.001372, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.5 MB / 243.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007613/0.0007613, allocations: 92.28 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.286/0.286, allocations: 44.81 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002787, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3064, allocations: 62.96 MB / 0.5159 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.001767/0.3082, allocations: 1.601 MB / 0.5175 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3095, allocations: 1.034 MB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.3096, allocations: 0 / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.3098, allocations: 60.44 kB / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.31, allocations: 71.25 kB / 0.5186 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.3103, allocations: 117.6 kB / 0.5187 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.3105, allocations: 286.1 kB / 0.519 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.664e-05/0.3106, allocations: 33.34 kB / 0.519 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.3108, allocations: 99.7 kB / 0.5191 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.311, allocations: 120.6 kB / 0.5192 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.311, allocations: 6.094 kB / 0.5192 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.3114, allocations: 309.4 kB / 0.5195 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.3114, allocations: 49.23 kB / 0.5196 GB, free: 35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.595e-05/0.3115, allocations: 133.7 kB / 0.5197 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3118, allocations: 302.7 kB / 0.52 GB, free: 34.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3118, allocations: 0 / 0.52 GB, free: 34.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3118, allocations: 0 / 0.52 GB, free: 34.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3119, allocations: 0 / 0.52 GB, free: 34.81 MB / 378.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.0005969/0.3125, allocations: 0.5208 MB / 0.5205 GB, free: 34.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3125, allocations: 8.125 kB / 0.5205 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.3126, allocations: 33.75 kB / 0.5205 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.3128, allocations: 231.1 kB / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3128, allocations: 26.41 kB / 0.5208 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.3128, allocations: 36.39 kB / 0.5208 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.3134, allocations: 499.9 kB / 0.5213 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3134, allocations: 3.938 kB / 0.5213 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3135, allocations: 10.91 kB / 0.5213 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.3135, allocations: 33.97 kB / 0.5213 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.314, allocations: 430.8 kB / 0.5218 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3151, allocations: 1.198 MB / 0.5229 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3153, allocations: 85.38 kB / 0.523 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3154, allocations: 45.55 kB / 0.5231 GB, free: 32.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.3155, allocations: 6.359 kB / 0.5231 GB, free: 32.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.3155, allocations: 30.56 kB / 0.5231 GB, free: 32.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3155, allocations: 4 kB / 0.5231 GB, free: 32.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004127/0.3159, allocations: 162 kB / 0.5232 GB, free: 32.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.316, allocations: 55.41 kB / 0.5233 GB, free: 32.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3161, allocations: 177.7 kB / 0.5235 GB, free: 32.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.3161, allocations: 29.64 kB / 0.5235 GB, free: 32.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.3162, allocations: 224.5 kB / 0.5237 GB, free: 32.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.3162, allocations: 28.98 kB / 0.5237 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.3162, allocations: 4 kB / 0.5237 GB, free: 32.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.3163, allocations: 321.7 kB / 0.524 GB, free: 31.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.3164, allocations: 55.97 kB / 0.5241 GB, free: 31.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3166, allocations: 177.8 kB / 0.5243 GB, free: 31.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3169, allocations: 252.2 kB / 0.5245 GB, free: 31.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3169, allocations: 0 / 0.5245 GB, free: 31.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003855/0.3173, allocations: 261.9 kB / 0.5248 GB, free: 31.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3173, allocations: 5.562 kB / 0.5248 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.3173, allocations: 5.641 kB / 0.5248 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3173, allocations: 4.938 kB / 0.5248 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3177, allocations: 94.61 kB / 0.5249 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000547/0.3182, allocations: 1.792 MB / 0.5266 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.3184, allocations: 36.75 kB / 0.5267 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3184, allocations: 13.88 kB / 0.5267 GB, free: 29.66 MB / 378.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.000154/0.3185, allocations: 176 kB / 0.5268 GB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.3186, allocations: 12.78 kB / 0.5268 GB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.319, allocations: 205.1 kB / 0.527 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.319, allocations: 6.281 kB / 0.527 GB, free: 29.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.319, allocations: 0 / 0.527 GB, free: 29.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3191, allocations: 0 / 0.527 GB, free: 29.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.3193, allocations: 294.5 kB / 0.5273 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3193, allocations: 0 / 0.5273 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.3195, allocations: 68.98 kB / 0.5274 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3195, allocations: 2.656 kB / 0.5274 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3195, allocations: 6.281 kB / 0.5274 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004699/0.32, allocations: 1.777 MB / 0.5291 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.32, allocations: 0 / 0.5291 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3203, allocations: 228.1 kB / 0.5294 GB, free: 27.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.3203, allocations: 83.67 kB / 0.5294 GB, free: 27.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3204, allocations: 6.594 kB / 0.5294 GB, free: 27.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.3205, allocations: 12.86 kB / 0.5295 GB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.3205, allocations: 8.797 kB / 0.5295 GB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.3205, allocations: 4.875 kB / 0.5295 GB, free: 27.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.3206, allocations: 117.1 kB / 0.5296 GB, free: 27.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3206, allocations: 4 kB / 0.5296 GB, free: 27.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.321, allocations: 106.2 kB / 0.5297 GB, free: 27 MB / 378.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.0002756/0.3213, allocations: 140 kB / 0.5298 GB, free: 26.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00049/0.3218, allocations: 192.9 kB / 0.53 GB, free: 26.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3218, allocations: 3.938 kB / 0.53 GB, free: 26.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.3221, allocations: 90.44 kB / 0.5301 GB, free: 26.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.3223, allocations: 13.48 kB / 0.5301 GB, free: 26.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.3229, allocations: 0.5996 MB / 0.5307 GB, free: 26.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.3231, allocations: 0.7953 MB / 0.5315 GB, free: 25.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.3231, allocations: 22.59 kB / 0.5315 GB, free: 25.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3231, allocations: 0 / 0.5315 GB, free: 25.71 MB / 378.7 MB Notification: Performance of Templates: time 0.007796/0.3309, allocations: 6.927 MB / 0.5383 GB, free: 25.14 MB / 378.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