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/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_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/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009252/0.0009253, allocations: 102 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3333/0.3333, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3921, allocations: 62.02 MB / 0.5152 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003127/0.3953, allocations: 1.979 MB / 0.5171 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3969, allocations: 1.157 MB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.397, allocations: 0 / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3973, allocations: 60 kB / 0.5183 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.3975, allocations: 76.12 kB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.3978, allocations: 127.6 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.3981, allocations: 327.6 kB / 0.5188 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.609e-05/0.3981, allocations: 42.2 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.3983, allocations: 91.73 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.3985, allocations: 128.6 kB / 0.5191 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3985, allocations: 5.719 kB / 0.5191 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.399, allocations: 317.9 kB / 0.5194 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.399, allocations: 55.05 kB / 0.5194 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.3991, allocations: 112.7 kB / 0.5195 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.3995, allocations: 426.3 kB / 0.5199 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3996, allocations: 0 / 0.5199 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3996, allocations: 0 / 0.5199 GB, free: 34.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3996, allocations: 3.938 kB / 0.5199 GB, free: 34.83 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.000619/0.4002, allocations: 0.5634 MB / 0.5205 GB, free: 34.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4002, allocations: 11.34 kB / 0.5205 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.4003, allocations: 33.69 kB / 0.5205 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.4005, allocations: 239 kB / 0.5208 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.4006, allocations: 35.27 kB / 0.5208 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.4006, allocations: 32.5 kB / 0.5208 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.4012, allocations: 491.7 kB / 0.5213 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4013, allocations: 2.875 kB / 0.5213 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.4013, allocations: 14.77 kB / 0.5213 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.4013, allocations: 28.83 kB / 0.5213 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.4019, allocations: 429.5 kB / 0.5217 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.4032, allocations: 1.183 MB / 0.5229 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.4034, allocations: 80.92 kB / 0.523 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4035, allocations: 41.12 kB / 0.523 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.4035, allocations: 2.406 kB / 0.523 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4036, allocations: 37.38 kB / 0.5231 GB, free: 32.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.4036, allocations: 0 / 0.5231 GB, free: 32.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004299/0.404, allocations: 153.2 kB / 0.5232 GB, free: 32.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.404, allocations: 58.03 kB / 0.5233 GB, free: 32.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4042, allocations: 168.1 kB / 0.5234 GB, free: 32.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.4042, allocations: 25.7 kB / 0.5234 GB, free: 32.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.4043, allocations: 219 kB / 0.5236 GB, free: 32.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.4043, allocations: 28.34 kB / 0.5237 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.4044, allocations: 57 kB / 0.5237 GB, free: 32.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.4044, allocations: 321.1 kB / 0.524 GB, free: 31.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.4045, allocations: 55.88 kB / 0.5241 GB, free: 31.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.4047, allocations: 177.1 kB / 0.5243 GB, free: 31.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.405, allocations: 242.7 kB / 0.5245 GB, free: 31.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.405, allocations: 2.844 kB / 0.5245 GB, free: 31.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003845/0.4054, allocations: 247.5 kB / 0.5247 GB, free: 31.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4054, allocations: 11.45 kB / 0.5247 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4054, allocations: 9.031 kB / 0.5247 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4055, allocations: 9.375 kB / 0.5248 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.4058, allocations: 91.8 kB / 0.5248 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000565/0.4064, allocations: 1.781 MB / 0.5266 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.4065, allocations: 30.44 kB / 0.5266 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.4065, allocations: 17.66 kB / 0.5266 GB, free: 29.64 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 (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.0002253/0.4067, allocations: 180.1 kB / 0.5268 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.4068, allocations: 10.5 kB / 0.5268 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.4072, allocations: 197.1 kB / 0.527 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4073, allocations: 3.938 kB / 0.527 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4073, allocations: 0 / 0.527 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4073, allocations: 0 / 0.527 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.4075, allocations: 293.3 kB / 0.5273 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4075, allocations: 3.328 kB / 0.5273 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.4077, allocations: 62.61 kB / 0.5273 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.4077, allocations: 0 / 0.5273 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4077, allocations: 2.75 kB / 0.5273 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004769/0.4082, allocations: 1.779 MB / 0.5291 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4082, allocations: 288 / 0.5291 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.4087, allocations: 0.8111 MB / 0.5299 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.4088, allocations: 83.95 kB / 0.53 GB, free: 26.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.4088, allocations: 2.875 kB / 0.53 GB, free: 26.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.4089, allocations: 18.06 kB / 0.53 GB, free: 26.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.4089, allocations: 8.719 kB / 0.53 GB, free: 26.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.409, allocations: 6.906 kB / 0.53 GB, free: 26.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.888e-05/0.409, allocations: 115 kB / 0.5301 GB, free: 26.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.409, allocations: 3.938 kB / 0.5301 GB, free: 26.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000491/0.4095, allocations: 101.9 kB / 0.5302 GB, free: 26.41 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 (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.0002282/0.4098, allocations: 137.3 kB / 0.5303 GB, free: 26.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.4102, allocations: 189.4 kB / 0.5305 GB, free: 26.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4103, allocations: 3.938 kB / 0.5305 GB, free: 26.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.4105, allocations: 89.95 kB / 0.5306 GB, free: 26.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.4108, allocations: 10.73 kB / 0.5306 GB, free: 26.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007504/0.4116, allocations: 0.6994 MB / 0.5313 GB, free: 25.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.4118, allocations: 0.8051 MB / 0.5321 GB, free: 25.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.412, allocations: 66.66 kB / 0.5321 GB, free: 24.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.412, allocations: 19.56 kB / 0.5322 GB, free: 24.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.412, allocations: 0 / 0.5322 GB, free: 24.98 MB / 378.7 MB Notification: Performance of Templates: time 0.005421/0.4174, allocations: 2.97 MB / 0.5351 GB, free: 24.73 MB / 378.7 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@2/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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches