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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009796/0.0009794, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.191/1.191, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007233/0.0007233, allocations: 85.48 kB / 271.2 MB, free: 8.25 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.2821/0.2821, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003114, allocations: 12 kB / 432 MB, free: 5.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.09966, allocations: 58.85 MB / 490.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001665/0.1014, allocations: 1.372 MB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1024, allocations: 0.7727 MB / 493 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.1025, allocations: 11.88 kB / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1027, allocations: 27.89 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1028, allocations: 51.73 kB / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1031, allocations: 79.7 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1033, allocations: 183.1 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.1034, allocations: 21.09 kB / 493.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1035, allocations: 51.78 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1036, allocations: 79.69 kB / 493.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1036, allocations: 4 kB / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.1039, allocations: 147.8 kB / 493.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.1039, allocations: 43.83 kB / 493.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.104, allocations: 81.38 kB / 493.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.1042, allocations: 139.9 kB / 493.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1042, allocations: 0 / 493.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1042, allocations: 0 / 493.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1042, allocations: 0 / 493.9 MB, free: 7.555 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004987/0.1047, allocations: 447 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1048, allocations: 8.031 kB / 494.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004345/0.1052, allocations: 68.67 kB / 494.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.1054, allocations: 212.1 kB / 494.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1054, allocations: 12.38 kB / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1055, allocations: 12.12 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.1059, allocations: 245.5 kB / 494.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1059, allocations: 0 / 494.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1059, allocations: 4 kB / 494.9 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.1059, allocations: 23.77 kB / 494.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.1064, allocations: 231.8 kB / 495.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009672/0.1073, allocations: 0.7285 MB / 495.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.1076, allocations: 106.4 kB / 496 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1077, allocations: 48.83 kB / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1077, allocations: 0 / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1077, allocations: 42.48 kB / 496.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1077, allocations: 0 / 496.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004556/0.1082, allocations: 173.7 kB / 496.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1082, allocations: 59.34 kB / 496.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1084, allocations: 192.7 kB / 496.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1084, allocations: 25.7 kB / 496.5 MB, free: 4.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.1085, allocations: 131.6 kB / 496.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1085, allocations: 31.73 kB / 496.7 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.1086, allocations: 4 kB / 496.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1087, allocations: 322.8 kB / 497 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1088, allocations: 59.94 kB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.109, allocations: 94.83 kB / 497.1 MB, free: 4.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.1093, allocations: 178.7 kB / 497.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1093, allocations: 0 / 497.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003682/0.1096, allocations: 193.2 kB / 497.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1097, allocations: 11.38 kB / 497.5 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1097, allocations: 4 kB / 497.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1097, allocations: 4 kB / 497.5 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/0.1105, allocations: 108.1 kB / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.1116, allocations: 1.809 MB / 499.4 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.1118, allocations: 31.66 kB / 499.4 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.1118, allocations: 12 kB / 499.5 MB, free: 1.617 MB / 378.7 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 (14): * Single equations (assignments): 11 * 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.0001168/0.1119, allocations: 141.6 kB / 499.6 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.1119, allocations: 15.83 kB / 499.6 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.1124, allocations: 186.9 kB / 499.8 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1124, allocations: 0 / 499.8 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1124, allocations: 3.984 kB / 499.8 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1124, allocations: 3.938 kB / 499.8 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1127, allocations: 233.4 kB / 0.4883 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1127, allocations: 0 / 0.4883 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.1133, allocations: 103.9 kB / 0.4884 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1133, allocations: 0 / 0.4884 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1133, allocations: 8 kB / 0.4884 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1585/0.2718, allocations: 1.764 MB / 0.4901 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2718, allocations: 0 / 0.4901 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.2722, allocations: 262 kB / 0.4904 GB, free: 42.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.2723, allocations: 90.8 kB / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.2723, allocations: 0.7812 kB / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.2724, allocations: 16.64 kB / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.2725, allocations: 7.422 kB / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.2725, allocations: 7.828 kB / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2726, allocations: 140.1 kB / 0.4906 GB, free: 42.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2726, allocations: 0 / 0.4906 GB, free: 42.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003648/0.273, allocations: 42.38 kB / 0.4907 GB, free: 42.08 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 (11): * Single equations (assignments): 8 * 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.0001539/0.2732, allocations: 108.4 kB / 0.4908 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.2743, allocations: 219 kB / 0.491 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2743, allocations: 2.953 kB / 0.491 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.2749, allocations: 123.7 kB / 0.4911 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.2753, allocations: 40.5 kB / 0.4912 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.2758, allocations: 419.8 kB / 0.4916 GB, free: 41.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.276, allocations: 0.7345 MB / 0.4923 GB, free: 41.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.2761, allocations: 20.25 kB / 0.4923 GB, free: 41.06 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2761, allocations: 3.844 kB / 0.4923 GB, free: 41.06 MB / 378.7 MB Notification: Performance of Templates: time 0.006084/0.2822, allocations: 4.392 MB / 0.4966 GB, free: 40.86 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches