Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001222/0.001222, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2007/0.2007, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.25 kB / 383.4 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09285, allocations: 57.79 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002676/0.09555, allocations: 1.817 MB / 443 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.09647, allocations: 0.623 MB / 443.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.09655, allocations: 7.938 kB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.09683, allocations: 47.73 kB / 443.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.09699, allocations: 67.58 kB / 443.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.09731, allocations: 131.4 kB / 443.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.0975, allocations: 230.8 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.359e-05/0.09757, allocations: 32.56 kB / 444.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.09765, allocations: 87.52 kB / 444.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.09778, allocations: 103.4 kB / 444.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.09781, allocations: 4 kB / 444.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.09813, allocations: 227.7 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.09819, allocations: 51.77 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.09828, allocations: 99.34 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.09861, allocations: 338.8 kB / 445 MB, free: 3.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.09862, allocations: 0 / 445 MB, free: 3.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09863, allocations: 4 kB / 445 MB, free: 3.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.09864, allocations: 0 / 445 MB, free: 3.035 MB / 318.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.0005502/0.09919, allocations: 0.5188 MB / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.09923, allocations: 11.89 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.101, allocations: 204.2 kB / 445.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1012, allocations: 275.9 kB / 446 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1013, allocations: 16.94 kB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.1013, allocations: 20.38 kB / 446.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008063/0.1021, allocations: 0.5008 MB / 446.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1021, allocations: 0 / 446.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.1022, allocations: 4 kB / 446.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.1022, allocations: 36.55 kB / 446.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.1033, allocations: 0.5798 MB / 447.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.1053, allocations: 1.173 MB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.106, allocations: 170.3 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.1064, allocations: 88.75 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1064, allocations: 0 / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1065, allocations: 38.56 kB / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1065, allocations: 0 / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.001296/0.1078, allocations: 305.3 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1078, allocations: 55.41 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.1081, allocations: 274.6 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1082, allocations: 25.7 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1083, allocations: 167.5 kB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.1083, allocations: 23.56 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/0.1084, allocations: 41.67 kB / 449.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1085, allocations: 334.8 kB / 449.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.1089, allocations: 87.89 kB / 450 MB, free: 13.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.1093, allocations: 119.3 kB / 450.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/0.1101, allocations: 211.1 kB / 450.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1101, allocations: 3.938 kB / 450.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008904/0.111, allocations: 261.2 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.111, allocations: 8 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.111, allocations: 0 / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.111, allocations: 0 / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005963/0.117, allocations: 479.3 kB / 451 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.1198, allocations: 1.941 MB / 453 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.1202, allocations: 39.69 kB / 453 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.1202, allocations: 12.3 kB / 453 MB, free: 10.72 MB / 334.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.0001723/0.1204, allocations: 157.8 kB / 453.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.1205, allocations: 23.81 kB / 453.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.1206, allocations: 25.7 kB / 453.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1206, allocations: 0 / 453.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1206, allocations: 0 / 453.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1206, allocations: 3.984 kB / 453.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.1209, allocations: 293.3 kB / 453.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.121, allocations: 0 / 453.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005893/0.1269, allocations: 467.2 kB / 454 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/0.1269, allocations: 0 / 454 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.1269, allocations: 7.922 kB / 454 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/0.1299, allocations: 1.945 MB / 455.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1299, allocations: 0 / 455.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008664/0.1308, allocations: 323.1 kB / 456.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.1309, allocations: 100.8 kB / 456.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.1309, allocations: 0 / 456.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.1313, allocations: 19.97 kB / 456.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.1314, allocations: 15.97 kB / 456.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1314, allocations: 12.02 kB / 456.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.1316, allocations: 213.8 kB / 456.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1316, allocations: 0 / 456.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.132, allocations: 63.91 kB / 456.6 MB, free: 6.918 MB / 334.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.0002107/0.1322, allocations: 119.2 kB / 456.8 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006315/0.1385, allocations: 0.5928 MB / 457.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1386, allocations: 0 / 457.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005787/0.1444, allocations: 499.4 kB / 457.8 MB, free: 5.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.1449, allocations: 37.42 kB / 457.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.146, allocations: 0.4981 MB / 458.4 MB, free: 5.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1463, allocations: 0.7714 MB / 459.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.949e-05/0.1464, allocations: 23.42 kB / 459.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1464, allocations: 4 kB / 459.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of Templates: time 0.009307/0.1558, allocations: 6.647 MB / 465.8 MB, free: 13.7 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches