Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001351, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 187.1 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 44.2 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 60.05 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4543, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003166/0.4575, allocations: 1.65 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.4591, allocations: 0.8805 MB / 0.5214 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.4591, allocations: 1.156 kB / 0.5214 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.4594, allocations: 32.98 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.4596, allocations: 44.41 kB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.4601, allocations: 139.9 kB / 0.5216 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.4603, allocations: 143.6 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.319e-05/0.4604, allocations: 11.38 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.4605, allocations: 60.17 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.4606, allocations: 63.59 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.4606, allocations: 9.125 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.4611, allocations: 199.5 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.4611, allocations: 53.78 kB / 0.5221 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.91e-05/0.4612, allocations: 55.66 kB / 0.5222 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.4617, allocations: 240.7 kB / 0.5224 GB, free: 1.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4617, allocations: 1.062 kB / 0.5224 GB, free: 1.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4617, allocations: 0 / 0.5224 GB, free: 1.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4617, allocations: 0 / 0.5224 GB, free: 1.461 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006799/0.4624, allocations: 467.1 kB / 0.5228 GB, free: 1.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.4625, allocations: 9.562 kB / 0.5229 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.4637, allocations: 119.5 kB / 0.523 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.464, allocations: 233.6 kB / 0.5232 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.4641, allocations: 13.89 kB / 0.5232 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.4641, allocations: 8.578 kB / 0.5232 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008746/0.465, allocations: 330.8 kB / 0.5235 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.465, allocations: 0 / 0.5235 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.4651, allocations: 3.125 kB / 0.5235 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.4651, allocations: 22.58 kB / 0.5236 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009363/0.4661, allocations: 325.9 kB / 0.5239 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.4679, allocations: 0.8224 MB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.4687, allocations: 223.9 kB / 0.5249 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.469, allocations: 89.95 kB / 0.525 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.469, allocations: 1.812 kB / 0.525 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4691, allocations: 34.56 kB / 0.525 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.4691, allocations: 0 / 0.525 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.00106/0.4701, allocations: 292 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.4702, allocations: 56.78 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.4704, allocations: 190.1 kB / 0.5255 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.4705, allocations: 27.08 kB / 0.5255 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4706, allocations: 143.8 kB / 0.5257 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.4706, allocations: 36.95 kB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.4707, allocations: 51.55 kB / 0.5258 GB, free: 15.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4708, allocations: 323 kB / 0.5261 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.4712, allocations: 89.27 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.4715, allocations: 141.5 kB / 0.5263 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.4721, allocations: 224.2 kB / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4722, allocations: 0 / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000732/0.4729, allocations: 274 kB / 0.5268 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4729, allocations: 5.469 kB / 0.5268 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4729, allocations: 3 kB / 0.5268 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.473, allocations: 6.656 kB / 0.5268 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.4734, allocations: 84.95 kB / 0.5269 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.4745, allocations: 1.785 MB / 0.5286 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.4747, allocations: 21.98 kB / 0.5286 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.4748, allocations: 20.33 kB / 0.5286 GB, free: 12.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (17): * Single equations (assignments): 14 * 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.0001757/0.4749, allocations: 145.7 kB / 0.5288 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.475, allocations: 17.09 kB / 0.5288 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009182/0.4759, allocations: 265.6 kB / 0.5291 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4759, allocations: 1.281 kB / 0.5291 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.476, allocations: 1.281 kB / 0.5291 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.476, allocations: 0 / 0.5291 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.4763, allocations: 252.8 kB / 0.5293 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4763, allocations: 3.984 kB / 0.5293 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.4767, allocations: 64.84 kB / 0.5294 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.4767, allocations: 3.938 kB / 0.5294 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.4767, allocations: 7.734 kB / 0.5294 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009064/0.4776, allocations: 1.786 MB / 0.5311 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4777, allocations: 4.094 kB / 0.5311 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.4784, allocations: 311.2 kB / 0.5314 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.4785, allocations: 97.19 kB / 0.5315 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.4785, allocations: 4 kB / 0.5315 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4787, allocations: 12.14 kB / 0.5315 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.4788, allocations: 21.95 kB / 0.5315 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.4788, allocations: 12.53 kB / 0.5316 GB, free: 9.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.479, allocations: 137.1 kB / 0.5317 GB, free: 9.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.479, allocations: 0 / 0.5317 GB, free: 9.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.4795, allocations: 58.41 kB / 0.5317 GB, free: 9.746 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 (10): * Single equations (assignments): 7 * 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.0002853/0.4798, allocations: 132.5 kB / 0.5319 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008543/0.4806, allocations: 233 kB / 0.5321 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4806, allocations: 1.188 kB / 0.5321 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.4811, allocations: 131.6 kB / 0.5322 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.4814, allocations: 18.03 kB / 0.5322 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.4823, allocations: 365.5 kB / 0.5326 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.4826, allocations: 0.7402 MB / 0.5333 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.4828, allocations: 69.56 kB / 0.5334 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.4829, allocations: 30.44 kB / 0.5334 GB, free: 8.457 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4829, allocations: 0 / 0.5334 GB, free: 8.457 MB / 398.1 MB Notification: Performance of Templates: time 0.00723/0.4901, allocations: 2.894 MB / 0.5362 GB, free: 7.012 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches