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_volumeFlowRate_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_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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009534/0.0009537, allocations: 179.3 kB / 16.72 MB, free: 5.078 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.186/1.186, 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.0007223/0.0007226, allocations: 93.28 kB / 271.2 MB, free: 8.234 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.2963/0.2963, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 12 kB / 432 MB, free: 5.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09729, allocations: 58.85 MB / 490.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.001776/0.09911, allocations: 1.364 MB / 492.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1004, allocations: 0.8311 MB / 493 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.1005, allocations: 0 / 493 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.1007, allocations: 31.83 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.1009, allocations: 39.83 kB / 493.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1013, allocations: 107.7 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1015, allocations: 167.2 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.1015, allocations: 17.44 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.1016, allocations: 51.72 kB / 493.4 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1017, allocations: 67.75 kB / 493.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1018, allocations: 4 kB / 493.5 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.1021, allocations: 199.7 kB / 493.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.1022, allocations: 39.83 kB / 493.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.1022, allocations: 89.3 kB / 493.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.1025, allocations: 155.9 kB / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1025, allocations: 0 / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1025, allocations: 3.984 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1025, allocations: 0 / 494 MB, free: 7.676 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005705/0.1031, allocations: 451 kB / 494.4 MB, free: 7.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1031, allocations: 12.03 kB / 494.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1042, allocations: 116.5 kB / 494.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1044, allocations: 224 kB / 494.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1045, allocations: 12.38 kB / 494.8 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.1045, allocations: 20.36 kB / 494.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.1051, allocations: 333.5 kB / 495.1 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1052, allocations: 0 / 495.1 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.1052, allocations: 7.984 kB / 495.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/0.1052, allocations: 19.98 kB / 495.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.106, allocations: 327.7 kB / 495.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.1074, allocations: 0.8375 MB / 496.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.108, allocations: 230.3 kB / 496.5 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.1083, allocations: 84.81 kB / 496.6 MB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1084, allocations: 4 kB / 496.6 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.1084, allocations: 38.56 kB / 496.7 MB, free: 4.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1084, allocations: 0 / 496.7 MB, free: 4.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000945/0.1093, allocations: 305.3 kB / 497 MB, free: 4.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1094, allocations: 55.41 kB / 497 MB, free: 4.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1096, allocations: 192.6 kB / 497.2 MB, free: 4.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.1096, allocations: 25.7 kB / 497.2 MB, free: 4.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.1097, allocations: 143.3 kB / 497.4 MB, free: 4.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1097, allocations: 35.48 kB / 497.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.1097, allocations: 4 kB / 497.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.1098, allocations: 322.8 kB / 497.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.1101, allocations: 95.89 kB / 497.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.1104, allocations: 138.7 kB / 498 MB, free: 3.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.111, allocations: 243 kB / 498.2 MB, free: 3.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.111, allocations: 0 / 498.2 MB, free: 3.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006917/0.1117, allocations: 285 kB / 498.5 MB, free: 2.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1118, allocations: 8 kB / 498.5 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1118, allocations: 0 / 498.5 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1118, allocations: 7.938 kB / 498.5 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.1122, allocations: 79.92 kB / 498.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008549/0.1131, allocations: 1.789 MB / 0.4886 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1133, allocations: 28.11 kB / 0.4887 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.1133, allocations: 19.97 kB / 0.4887 GB, free: 0.8906 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 (17): * Single equations (assignments): 14 * 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.0001376/0.1135, allocations: 145.7 kB / 0.4888 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.1135, allocations: 11.84 kB / 0.4888 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.1143, allocations: 270.8 kB / 0.4891 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1143, allocations: 4 kB / 0.4891 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1143, allocations: 0 / 0.4891 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1143, allocations: 7.922 kB / 0.4891 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1146, allocations: 253.5 kB / 0.4893 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1146, allocations: 4 kB / 0.4893 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.115, allocations: 67.92 kB / 0.4894 GB, free: 76 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.115, allocations: 7.938 kB / 0.4894 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.115, allocations: 3.984 kB / 0.4894 GB, free: 64 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.161/0.276, allocations: 1.782 MB / 0.4912 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2761, allocations: 0 / 0.4912 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.2768, allocations: 330.6 kB / 0.4915 GB, free: 41.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.2768, allocations: 92.52 kB / 0.4916 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.2769, allocations: 1.75 kB / 0.4916 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.2771, allocations: 14.36 kB / 0.4916 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.2772, allocations: 13.81 kB / 0.4916 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.2772, allocations: 12.95 kB / 0.4916 GB, free: 41.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.2773, allocations: 137.2 kB / 0.4917 GB, free: 41.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2773, allocations: 0 / 0.4917 GB, free: 41.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.2777, allocations: 61.97 kB / 0.4918 GB, free: 41.41 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 (10): * Single equations (assignments): 7 * 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.0002133/0.2779, allocations: 129.7 kB / 0.4919 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008456/0.2788, allocations: 244 kB / 0.4921 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2788, allocations: 0 / 0.4921 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.2793, allocations: 141.4 kB / 0.4923 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.2796, allocations: 18.3 kB / 0.4923 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.2803, allocations: 457.3 kB / 0.4927 GB, free: 41.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2805, allocations: 0.735 MB / 0.4935 GB, free: 40.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2806, allocations: 38.27 kB / 0.4935 GB, free: 40.38 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2806, allocations: 0 / 0.4935 GB, free: 40.38 MB / 378.7 MB Notification: Performance of Templates: time 0.007144/0.2878, allocations: 4.88 MB / 0.4983 GB, free: 40.14 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches