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.001225/0.001225, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 207.9 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 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.2327/0.2327, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 75.88 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4177, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003881/0.4217, allocations: 1.921 MB / 0.5329 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.4237, allocations: 1.129 MB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.4239, allocations: 6.594 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.4244, allocations: 65.78 kB / 0.5341 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004377/0.4249, allocations: 76.95 kB / 0.5341 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000861/0.4258, allocations: 159.4 kB / 0.5343 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.4263, allocations: 265.9 kB / 0.5346 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4264, allocations: 34.48 kB / 0.5346 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.4268, allocations: 114.8 kB / 0.5347 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.4271, allocations: 111.2 kB / 0.5348 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.4272, allocations: 8.25 kB / 0.5348 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007543/0.4279, allocations: 321.6 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.4281, allocations: 51.55 kB / 0.5352 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.4283, allocations: 119.9 kB / 0.5353 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.4291, allocations: 431 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4291, allocations: 12.95 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4291, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4291, allocations: 0 / 0.5357 GB, free: 10.33 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.0009138/0.4301, allocations: 0.5629 MB / 0.5362 GB, free: 9.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4301, allocations: 12.67 kB / 0.5363 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/0.4302, allocations: 32.09 kB / 0.5363 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.4306, allocations: 239 kB / 0.5365 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.4306, allocations: 25.97 kB / 0.5365 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.4307, allocations: 33.3 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.4315, allocations: 495.2 kB / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4315, allocations: 0 / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.4315, allocations: 15.97 kB / 0.5371 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.4316, allocations: 26.42 kB / 0.5371 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007658/0.4323, allocations: 426.6 kB / 0.5375 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.4341, allocations: 1.175 MB / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.4343, allocations: 81.06 kB / 0.5387 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4344, allocations: 42.52 kB / 0.5388 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.4345, allocations: 9.516 kB / 0.5388 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4345, allocations: 31.81 kB / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.4345, allocations: 0 / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004828/0.435, allocations: 148.6 kB / 0.5389 GB, free: 7.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.435, allocations: 55.39 kB / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4352, allocations: 172.3 kB / 0.5392 GB, free: 7.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4352, allocations: 29.7 kB / 0.5392 GB, free: 7.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.4354, allocations: 225.8 kB / 0.5394 GB, free: 7.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.4354, allocations: 24.38 kB / 0.5394 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/0.4355, allocations: 56.58 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4356, allocations: 327 kB / 0.5398 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.4358, allocations: 49.48 kB / 0.5398 GB, free: 6.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.436, allocations: 177.4 kB / 0.54 GB, free: 6.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.4364, allocations: 243.1 kB / 0.5402 GB, free: 6.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4364, allocations: 1.5 kB / 0.5402 GB, free: 6.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005128/0.4369, allocations: 253.2 kB / 0.5405 GB, free: 6.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.437, allocations: 7.688 kB / 0.5405 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.437, allocations: 3.781 kB / 0.5405 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.437, allocations: 5.719 kB / 0.5405 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.4374, allocations: 89.73 kB / 0.5406 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009764/0.4384, allocations: 1.787 MB / 0.5423 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.4385, allocations: 40.14 kB / 0.5424 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.4386, allocations: 16.44 kB / 0.5424 GB, free: 4.578 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.0002766/0.4389, allocations: 183.1 kB / 0.5426 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.4389, allocations: 8.812 kB / 0.5426 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.4394, allocations: 195 kB / 0.5428 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4394, allocations: 5.188 kB / 0.5428 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4394, allocations: 0 / 0.5428 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4394, allocations: 1.188 kB / 0.5428 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.4398, allocations: 291.3 kB / 0.543 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4398, allocations: 0 / 0.543 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.4401, allocations: 62.31 kB / 0.5431 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4401, allocations: 0 / 0.5431 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4401, allocations: 3.656 kB / 0.5431 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008466/0.441, allocations: 1.783 MB / 0.5448 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.441, allocations: 0 / 0.5448 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.4413, allocations: 212.4 kB / 0.545 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.4414, allocations: 92.27 kB / 0.5451 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.4414, allocations: 3.938 kB / 0.5451 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.96e-05/0.4415, allocations: 12.33 kB / 0.5451 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.4416, allocations: 9.359 kB / 0.5452 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.4416, allocations: 4.25 kB / 0.5452 GB, free: 1.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.597e-05/0.4417, allocations: 118 kB / 0.5453 GB, free: 1.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4417, allocations: 1.375 kB / 0.5453 GB, free: 1.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005404/0.4422, allocations: 105.5 kB / 0.5454 GB, free: 1.789 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.0003627/0.4426, allocations: 142.7 kB / 0.5455 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005753/0.4432, allocations: 186.1 kB / 0.5457 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4432, allocations: 0 / 0.5457 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.4435, allocations: 90 kB / 0.5458 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.4438, allocations: 7.344 kB / 0.5458 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.4448, allocations: 467.1 kB / 0.5462 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.4452, allocations: 0.7997 MB / 0.547 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.4454, allocations: 60.58 kB / 0.5471 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.4454, allocations: 19.69 kB / 0.5471 GB, free: 488 kB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4454, allocations: 0 / 0.5471 GB, free: 488 kB / 398.1 MB Notification: Performance of Templates: time 0.007318/0.4527, allocations: 3.08 MB / 0.5501 GB, free: 13.68 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/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","/var/lib/jenkins/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