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.001178/0.001178, allocations: 112.4 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 204 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 75.88 kB / 482 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.417, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003228/0.4202, allocations: 1.926 MB / 0.5336 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.4221, allocations: 1.134 MB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.227e-05/0.4222, allocations: 2.75 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.4225, allocations: 69.47 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.4228, allocations: 73.27 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.4232, allocations: 159.7 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.4235, allocations: 265.6 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.4236, allocations: 34.45 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.4239, allocations: 106.8 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.4241, allocations: 123.5 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.4241, allocations: 7.469 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.4246, allocations: 318.5 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.4247, allocations: 50.92 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.4249, allocations: 120.4 kB / 0.5359 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000616/0.4255, allocations: 439.3 kB / 0.5364 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4255, allocations: 0 / 0.5364 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4255, allocations: 0 / 0.5364 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.4255, allocations: 0 / 0.5364 GB, free: 10.08 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.000813/0.4263, allocations: 0.5582 MB / 0.5369 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4264, allocations: 9.594 kB / 0.5369 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.302e-05/0.4265, allocations: 31.53 kB / 0.5369 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.4268, allocations: 243.1 kB / 0.5372 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.4268, allocations: 34.58 kB / 0.5372 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.4269, allocations: 28.97 kB / 0.5372 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007908/0.4277, allocations: 0.4914 MB / 0.5377 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4277, allocations: 0 / 0.5377 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.4277, allocations: 15.03 kB / 0.5377 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.4278, allocations: 27.89 kB / 0.5378 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.4285, allocations: 426.8 kB / 0.5382 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.4301, allocations: 1.171 MB / 0.5393 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.4303, allocations: 81.06 kB / 0.5394 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.4304, allocations: 41.23 kB / 0.5394 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.4305, allocations: 6.5 kB / 0.5394 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.4305, allocations: 35.84 kB / 0.5395 GB, free: 7.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4305, allocations: 0 / 0.5395 GB, free: 7.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005048/0.431, allocations: 151.7 kB / 0.5396 GB, free: 7.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.4311, allocations: 60.5 kB / 0.5397 GB, free: 7.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4312, allocations: 174.1 kB / 0.5398 GB, free: 7.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.4313, allocations: 30.89 kB / 0.5399 GB, free: 7.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4314, allocations: 211.1 kB / 0.5401 GB, free: 7.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.4314, allocations: 31.58 kB / 0.5401 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.4315, allocations: 56.83 kB / 0.5401 GB, free: 7.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4316, allocations: 321.5 kB / 0.5405 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.4318, allocations: 59.3 kB / 0.5405 GB, free: 6.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.432, allocations: 172.8 kB / 0.5407 GB, free: 6.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.4324, allocations: 241.6 kB / 0.5409 GB, free: 6.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.4324, allocations: 2 kB / 0.5409 GB, free: 6.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004699/0.4329, allocations: 253.8 kB / 0.5411 GB, free: 6.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.4329, allocations: 6.781 kB / 0.5412 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4329, allocations: 5.75 kB / 0.5412 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4329, allocations: 4.969 kB / 0.5412 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.4333, allocations: 92.83 kB / 0.5413 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009694/0.4343, allocations: 1.792 MB / 0.543 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.4344, allocations: 27 kB / 0.543 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.4345, allocations: 20.69 kB / 0.543 GB, free: 4.32 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.0002717/0.4347, allocations: 187.3 kB / 0.5432 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.4348, allocations: 9 kB / 0.5432 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.4353, allocations: 187.4 kB / 0.5434 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4353, allocations: 7.938 kB / 0.5434 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4353, allocations: 1.281 kB / 0.5434 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4353, allocations: 3.984 kB / 0.5434 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.4357, allocations: 287.5 kB / 0.5437 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4357, allocations: 5.203 kB / 0.5437 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.4359, allocations: 64.62 kB / 0.5438 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4359, allocations: 1.031 kB / 0.5438 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.436, allocations: 7.375 kB / 0.5438 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.437, allocations: 1.775 MB / 0.5455 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.437, allocations: 0 / 0.5455 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.4374, allocations: 220.8 kB / 0.5457 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.162e-05/0.4375, allocations: 88.66 kB / 0.5458 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.4375, allocations: 3.938 kB / 0.5458 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.4376, allocations: 4.438 kB / 0.5458 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.4377, allocations: 12.45 kB / 0.5458 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.4377, allocations: 4.562 kB / 0.5458 GB, free: 1.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.4378, allocations: 111.2 kB / 0.5459 GB, free: 1.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.314e-06/0.4378, allocations: 9.062 kB / 0.5459 GB, free: 1.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005493/0.4384, allocations: 106.8 kB / 0.546 GB, free: 1.523 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.0003106/0.4387, allocations: 133.6 kB / 0.5462 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005755/0.4393, allocations: 183.8 kB / 0.5463 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4393, allocations: 0 / 0.5463 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.4396, allocations: 91.94 kB / 0.5464 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.4399, allocations: 11.44 kB / 0.5464 GB, free: 1.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009077/0.4408, allocations: 480.4 kB / 0.5469 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.4413, allocations: 0.7935 MB / 0.5477 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.4413, allocations: 22.66 kB / 0.5477 GB, free: 236 kB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4413, allocations: 0 / 0.5477 GB, free: 236 kB / 398.1 MB Notification: Performance of Templates: time 0.009297/0.4506, allocations: 6.989 MB / 0.5545 GB, free: 9.578 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