Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000834/0.0008341, allocations: 175 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.4 MB / 222.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007824/0.0007825, allocations: 97.66 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.278/0.278, allocations: 43.57 MB / 363.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003874, allocations: 12 kB / 432 MB, free: 5.574 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09779, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001922/0.09976, allocations: 1.508 MB / 492.4 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009496/0.1007, allocations: 0.5807 MB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.1008, allocations: 3.938 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.1011, allocations: 43.77 kB / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1013, allocations: 67.64 kB / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1016, allocations: 95.64 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.1019, allocations: 266.7 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.836e-05/0.102, allocations: 36.27 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1021, allocations: 75.59 kB / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1023, allocations: 99.55 kB / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.1023, allocations: 4 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.1026, allocations: 219.7 kB / 493.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.1027, allocations: 55.77 kB / 493.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1028, allocations: 117.1 kB / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1031, allocations: 231.6 kB / 494.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1031, allocations: 4 kB / 494.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1031, allocations: 0 / 494.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1032, allocations: 0 / 494.2 MB, free: 7.234 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005961/0.1038, allocations: 499.3 kB / 494.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1038, allocations: 12.03 kB / 494.7 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.1055, allocations: 196.3 kB / 494.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1058, allocations: 267.8 kB / 495.2 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1058, allocations: 20.94 kB / 495.2 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.1059, allocations: 20.31 kB / 495.2 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008897/0.1068, allocations: 0.5086 MB / 495.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1068, allocations: 0 / 495.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.1068, allocations: 11.97 kB / 495.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.1069, allocations: 24.55 kB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.108, allocations: 0.5915 MB / 496.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.1101, allocations: 1.181 MB / 497.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000591/0.1107, allocations: 178.3 kB / 497.7 MB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.111, allocations: 92.77 kB / 497.8 MB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.111, allocations: 0 / 497.8 MB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1111, allocations: 34.56 kB / 497.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1111, allocations: 0 / 497.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001116/0.1122, allocations: 325.3 kB / 498.1 MB, free: 3.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1122, allocations: 51.41 kB / 498.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1125, allocations: 286.4 kB / 498.5 MB, free: 2.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1125, allocations: 25.7 kB / 498.5 MB, free: 2.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.1126, allocations: 159.5 kB / 498.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1127, allocations: 27.64 kB / 498.7 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.1127, allocations: 4 kB / 498.7 MB, free: 2.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1128, allocations: 334.8 kB / 499 MB, free: 2.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.1131, allocations: 91.91 kB / 499.1 MB, free: 2.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.1135, allocations: 123.3 kB / 499.2 MB, free: 1.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000663/0.1142, allocations: 223.1 kB / 499.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.1142, allocations: 7.938 kB / 499.5 MB, free: 1.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007694/0.115, allocations: 269.2 kB / 499.7 MB, free: 1.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.115, allocations: 8 kB / 499.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.115, allocations: 0 / 499.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.115, allocations: 0 / 499.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005389/0.1204, allocations: 475.2 kB / 0.4885 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.164/0.2844, allocations: 1.938 MB / 0.4904 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.2849, allocations: 51.73 kB / 0.4904 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2849, allocations: 9.828 kB / 0.4904 GB, free: 42.05 MB / 378.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.2851, allocations: 155.1 kB / 0.4906 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.2851, allocations: 20.69 kB / 0.4906 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.2852, allocations: 26.03 kB / 0.4906 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2852, allocations: 4.781 kB / 0.4906 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2852, allocations: 2.578 kB / 0.4906 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2852, allocations: 0 / 0.4906 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.2855, allocations: 294.7 kB / 0.4909 GB, free: 41.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2856, allocations: 0 / 0.4909 GB, free: 41.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005533/0.2911, allocations: 454.5 kB / 0.4913 GB, free: 41.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2911, allocations: 1.828 kB / 0.4913 GB, free: 41.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.2911, allocations: 4.75 kB / 0.4913 GB, free: 41.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.2934, allocations: 1.95 MB / 0.4932 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2934, allocations: 0.5 kB / 0.4932 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.2942, allocations: 331.6 kB / 0.4936 GB, free: 39.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.2942, allocations: 97.42 kB / 0.4937 GB, free: 39.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.2943, allocations: 5.547 kB / 0.4937 GB, free: 39.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.2946, allocations: 28.77 kB / 0.4937 GB, free: 39.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.2947, allocations: 10.72 kB / 0.4937 GB, free: 39.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.2947, allocations: 7.031 kB / 0.4937 GB, free: 39.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.2949, allocations: 203.9 kB / 0.4939 GB, free: 39.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2949, allocations: 1.25 kB / 0.4939 GB, free: 39.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.2953, allocations: 69.67 kB / 0.494 GB, free: 39.68 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.2954, allocations: 118.1 kB / 0.4941 GB, free: 39.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005702/0.3011, allocations: 0.6005 MB / 0.4947 GB, free: 39.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3012, allocations: 4.828 kB / 0.4947 GB, free: 39.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005268/0.3064, allocations: 0.498 MB / 0.4952 GB, free: 39.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.3069, allocations: 39.27 kB / 0.4952 GB, free: 39.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.3078, allocations: 0.5594 MB / 0.4957 GB, free: 39.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.308, allocations: 0.775 MB / 0.4965 GB, free: 38.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.813e-05/0.3081, allocations: 22.55 kB / 0.4965 GB, free: 38.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3081, allocations: 0.5469 kB / 0.4965 GB, free: 38.57 MB / 378.7 MB Notification: Performance of Templates: time 0.007352/0.3154, allocations: 6.595 MB / 0.503 GB, free: 38.19 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches