Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001161/0.001161, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 79.86 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4645, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003421/0.468, allocations: 1.828 MB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.4693, allocations: 0.635 MB / 0.5334 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.4694, allocations: 0 / 0.5334 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.4698, allocations: 53.38 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.4699, allocations: 77.33 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.4703, allocations: 125.9 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.4706, allocations: 223.1 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.4707, allocations: 32.78 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.4708, allocations: 89.95 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.471, allocations: 99.41 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.471, allocations: 6.875 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.4714, allocations: 227.2 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.4715, allocations: 52.86 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.4716, allocations: 93.7 kB / 0.5345 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.4721, allocations: 332.2 kB / 0.5348 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4722, allocations: 1.125 kB / 0.5348 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4722, allocations: 0 / 0.5348 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.4722, allocations: 0 / 0.5348 GB, free: 10.83 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001041/0.4732, allocations: 0.5297 MB / 0.5353 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.4733, allocations: 9.406 kB / 0.5353 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.4752, allocations: 204 kB / 0.5355 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.4758, allocations: 276.7 kB / 0.5358 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.4758, allocations: 17.89 kB / 0.5358 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.4759, allocations: 23.34 kB / 0.5358 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.477, allocations: 0.4983 MB / 0.5363 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4771, allocations: 5.141 kB / 0.5363 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.4771, allocations: 5.125 kB / 0.5363 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/0.4772, allocations: 33.81 kB / 0.5363 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.4786, allocations: 0.5842 MB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.481, allocations: 1.155 MB / 0.538 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.4817, allocations: 176.9 kB / 0.5382 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.4821, allocations: 88.27 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4821, allocations: 1.125 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.4821, allocations: 35.44 kB / 0.5383 GB, free: 8.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 3.947e-06/0.4821, allocations: 0 / 0.5383 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001298/0.4834, allocations: 303.6 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.4835, allocations: 56.5 kB / 0.5387 GB, free: 7.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.4838, allocations: 283.1 kB / 0.5389 GB, free: 7.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.4838, allocations: 25.7 kB / 0.539 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.484, allocations: 165.6 kB / 0.5391 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.484, allocations: 28.09 kB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.4841, allocations: 38.38 kB / 0.5392 GB, free: 7.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4842, allocations: 332.4 kB / 0.5395 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.4846, allocations: 90.31 kB / 0.5396 GB, free: 7.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.485, allocations: 117.1 kB / 0.5397 GB, free: 7.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/0.4858, allocations: 218.2 kB / 0.5399 GB, free: 6.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4858, allocations: 9.031 kB / 0.5399 GB, free: 6.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008882/0.4867, allocations: 257.5 kB / 0.5402 GB, free: 6.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4868, allocations: 5.656 kB / 0.5402 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4868, allocations: 1.5 kB / 0.5402 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4868, allocations: 1.469 kB / 0.5402 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005927/0.4927, allocations: 468.7 kB / 0.5406 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.4958, allocations: 1.94 MB / 0.5425 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.4962, allocations: 39.25 kB / 0.5425 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.4963, allocations: 12.39 kB / 0.5426 GB, free: 4.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002709/0.4965, allocations: 156.9 kB / 0.5427 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.4966, allocations: 25.11 kB / 0.5427 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.4967, allocations: 26.84 kB / 0.5427 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4967, allocations: 9.047 kB / 0.5428 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4967, allocations: 0 / 0.5428 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4967, allocations: 0 / 0.5428 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.4972, allocations: 298.1 kB / 0.543 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4972, allocations: 0 / 0.543 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005683/0.5029, allocations: 447.8 kB / 0.5435 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5029, allocations: 5.188 kB / 0.5435 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.5029, allocations: 6.547 kB / 0.5435 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.5055, allocations: 1.943 MB / 0.5454 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5056, allocations: 0 / 0.5454 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.5064, allocations: 329.5 kB / 0.5457 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.5065, allocations: 99.09 kB / 0.5458 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.5066, allocations: 0 / 0.5458 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.5069, allocations: 21.44 kB / 0.5458 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.507, allocations: 15.05 kB / 0.5458 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.507, allocations: 6.859 kB / 0.5458 GB, free: 1.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.5073, allocations: 213.9 kB / 0.546 GB, free: 1.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5073, allocations: 1.156 kB / 0.546 GB, free: 1.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.5077, allocations: 66.69 kB / 0.5461 GB, free: 1.695 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.0002044/0.5079, allocations: 110.6 kB / 0.5462 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006208/0.5141, allocations: 0.5996 MB / 0.5468 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5141, allocations: 0 / 0.5468 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005581/0.5197, allocations: 499.4 kB / 0.5473 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.5201, allocations: 50.69 kB / 0.5473 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009893/0.5211, allocations: 474.3 kB / 0.5478 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.5215, allocations: 0.7791 MB / 0.5485 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.5217, allocations: 58.03 kB / 0.5486 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.5217, allocations: 23.38 kB / 0.5486 GB, free: 15.17 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5217, allocations: 0 / 0.5486 GB, free: 15.17 MB / 414.1 MB Notification: Performance of Templates: time 0.009318/0.5311, allocations: 5.365 MB / 0.5538 GB, free: 9.871 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches