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.001195/0.001195, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001267, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001378, allocations: 79.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.295, allocations: 62.42 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002949/0.298, allocations: 1.933 MB / 0.5336 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.2997, allocations: 1.129 MB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.2998, allocations: 2.625 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3001, allocations: 72.33 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.3003, allocations: 73.92 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.3007, allocations: 151.1 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.301, allocations: 265.2 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.988e-05/0.3011, allocations: 38.53 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.3013, allocations: 111.2 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.3015, allocations: 115.3 kB / 0.5355 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3015, allocations: 6.875 kB / 0.5355 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.302, allocations: 323.2 kB / 0.5358 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.3021, allocations: 50.17 kB / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3022, allocations: 117 kB / 0.5359 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.3027, allocations: 439.1 kB / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3027, allocations: 0 / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3027, allocations: 0 / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3027, allocations: 1 kB / 0.5364 GB, free: 10.14 MB / 398.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.0007146/0.3035, allocations: 0.5659 MB / 0.5369 GB, free: 9.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3035, allocations: 9.375 kB / 0.5369 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.3036, allocations: 31.06 kB / 0.5369 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3038, allocations: 238.9 kB / 0.5372 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.3039, allocations: 30.56 kB / 0.5372 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.3039, allocations: 32.75 kB / 0.5372 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.3047, allocations: 499.9 kB / 0.5377 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3047, allocations: 3.984 kB / 0.5377 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.3047, allocations: 11.12 kB / 0.5377 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.3048, allocations: 27.73 kB / 0.5377 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.3054, allocations: 430.1 kB / 0.5382 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.3068, allocations: 1.168 MB / 0.5393 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.307, allocations: 80.47 kB / 0.5394 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3071, allocations: 45.39 kB / 0.5394 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3072, allocations: 6.859 kB / 0.5394 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3072, allocations: 31.75 kB / 0.5395 GB, free: 7.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3072, allocations: 0 / 0.5395 GB, free: 7.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004621/0.3077, allocations: 152.5 kB / 0.5396 GB, free: 7.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.3077, allocations: 56.66 kB / 0.5397 GB, free: 7.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3079, allocations: 181.4 kB / 0.5398 GB, free: 7.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3079, allocations: 25.7 kB / 0.5399 GB, free: 7.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.308, allocations: 215.3 kB / 0.5401 GB, free: 7.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3081, allocations: 32.44 kB / 0.5401 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.3081, allocations: 61.52 kB / 0.5401 GB, free: 7.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.3082, allocations: 321.7 kB / 0.5405 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.3084, allocations: 50.11 kB / 0.5405 GB, free: 6.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.3086, allocations: 180.9 kB / 0.5407 GB, free: 6.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.3089, allocations: 242.3 kB / 0.5409 GB, free: 6.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3089, allocations: 1.625 kB / 0.5409 GB, free: 6.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004447/0.3094, allocations: 253.7 kB / 0.5411 GB, free: 6.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3094, allocations: 7.969 kB / 0.5412 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3094, allocations: 3.5 kB / 0.5412 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3094, allocations: 6.812 kB / 0.5412 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.3098, allocations: 88.31 kB / 0.5413 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008406/0.3106, allocations: 1.792 MB / 0.543 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.3108, allocations: 34.92 kB / 0.543 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.3108, allocations: 12.44 kB / 0.543 GB, free: 4.383 MB / 398.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.0002491/0.3111, allocations: 184 kB / 0.5432 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.3111, allocations: 8.094 kB / 0.5432 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.3116, allocations: 187 kB / 0.5434 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3116, allocations: 5.125 kB / 0.5434 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3116, allocations: 1.156 kB / 0.5434 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3116, allocations: 4 kB / 0.5434 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.312, allocations: 295.8 kB / 0.5437 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.312, allocations: 0 / 0.5437 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.3122, allocations: 66.19 kB / 0.5438 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3122, allocations: 3.984 kB / 0.5438 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3122, allocations: 4 kB / 0.5438 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007955/0.313, allocations: 1.778 MB / 0.5455 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.313, allocations: 0 / 0.5455 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.3134, allocations: 217.5 kB / 0.5457 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.3134, allocations: 83.3 kB / 0.5458 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.3134, allocations: 9.047 kB / 0.5458 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.3135, allocations: 8.031 kB / 0.5458 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.3136, allocations: 9.359 kB / 0.5458 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.3136, allocations: 3.531 kB / 0.5458 GB, free: 1.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.805e-05/0.3137, allocations: 116.2 kB / 0.5459 GB, free: 1.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.3137, allocations: 0 / 0.5459 GB, free: 1.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.3141, allocations: 107.2 kB / 0.546 GB, free: 1.594 MB / 398.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.000262/0.3144, allocations: 149.4 kB / 0.5462 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.3149, allocations: 182 kB / 0.5464 GB, free: 1.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.315, allocations: 1.125 kB / 0.5464 GB, free: 1.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.3153, allocations: 87.72 kB / 0.5464 GB, free: 1.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.3155, allocations: 11.56 kB / 0.5464 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.3163, allocations: 484.2 kB / 0.5469 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3166, allocations: 0.7929 MB / 0.5477 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.3167, allocations: 22.97 kB / 0.5477 GB, free: 296 kB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3167, allocations: 0 / 0.5477 GB, free: 296 kB / 398.1 MB Notification: Performance of Templates: time 0.008458/0.3252, allocations: 6.982 MB / 0.5545 GB, free: 9.648 MB / 414.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