Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 181 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008166/0.0008167, allocations: 97.97 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3012/0.3012, allocations: 44.21 MB / 387.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003531, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3221, allocations: 61.91 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.4273, allocations: 92.17 MB / 0.5996 GB, free: 2.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.4275, allocations: 99.72 kB / 0.5997 GB, free: 2.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.4432, allocations: 6.11 MB / 0.6057 GB, free: 12.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4433, allocations: 0 / 0.6057 GB, free: 12.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.4433, allocations: 4 kB / 0.6057 GB, free: 12.62 MB / 426.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.0005722/0.4439, allocations: 494.9 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4439, allocations: 8.031 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.4453, allocations: 203.3 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.4456, allocations: 266.7 kB / 0.6066 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.4457, allocations: 20.56 kB / 0.6066 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.4457, allocations: 27.95 kB / 0.6066 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008774/0.4466, allocations: 496.5 kB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4466, allocations: 0 / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.4467, allocations: 8 kB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.4467, allocations: 20.55 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.4479, allocations: 0.5915 MB / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.4499, allocations: 1.182 MB / 0.6089 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.4505, allocations: 174.4 kB / 0.609 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.4505, allocations: 3.938 kB / 0.609 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.4505, allocations: 34.56 kB / 0.6091 GB, free: 8.941 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.4506, allocations: 0 / 0.6091 GB, free: 8.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.001127/0.4517, allocations: 313.4 kB / 0.6094 GB, free: 8.629 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.4517, allocations: 55.39 kB / 0.6094 GB, free: 8.562 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.452, allocations: 249.7 kB / 0.6097 GB, free: 8.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.452, allocations: 25.7 kB / 0.6097 GB, free: 8.281 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.4521, allocations: 175.4 kB / 0.6099 GB, free: 8.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.4521, allocations: 31.78 kB / 0.6099 GB, free: 8.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.4522, allocations: 0 / 0.6099 GB, free: 8.074 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4523, allocations: 334.8 kB / 0.6102 GB, free: 7.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.4526, allocations: 91.91 kB / 0.6103 GB, free: 7.648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.453, allocations: 124.3 kB / 0.6104 GB, free: 7.516 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.4533, allocations: 99.91 kB / 0.6105 GB, free: 7.418 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4534, allocations: 4 kB / 0.6105 GB, free: 7.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007809/0.4541, allocations: 265.1 kB / 0.6108 GB, free: 7.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4542, allocations: 4 kB / 0.6108 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.4542, allocations: 4 kB / 0.6108 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4542, allocations: 0 / 0.6108 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005805/0.46, allocations: 448.2 kB / 0.6112 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.4632, allocations: 1.949 MB / 0.6131 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.4637, allocations: 51.84 kB / 0.6131 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.4637, allocations: 7.984 kB / 0.6132 GB, free: 4.625 MB / 426.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.0002149/0.4639, allocations: 155.7 kB / 0.6133 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.464, allocations: 23.77 kB / 0.6133 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/0.4641, allocations: 25.7 kB / 0.6134 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4641, allocations: 0 / 0.6134 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4641, allocations: 0 / 0.6134 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4641, allocations: 0 / 0.6134 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.4645, allocations: 297.4 kB / 0.6136 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4645, allocations: 0 / 0.6136 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005963/0.4705, allocations: 435.4 kB / 0.6141 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.4705, allocations: 7.953 kB / 0.6141 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.4706, allocations: 8.016 kB / 0.6141 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003241/0.4738, allocations: 1.949 MB / 0.616 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4739, allocations: 0 / 0.616 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.4747, allocations: 327.2 kB / 0.6163 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.4748, allocations: 92.91 kB / 0.6164 GB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.4749, allocations: 7.953 kB / 0.6164 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.4753, allocations: 23.97 kB / 0.6164 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.4754, allocations: 3.984 kB / 0.6164 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.4754, allocations: 7.984 kB / 0.6164 GB, free: 1.125 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002432/0.4757, allocations: 209.9 kB / 0.6166 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4757, allocations: 3.938 kB / 0.6166 GB, free: 0.918 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004282/0.4761, allocations: 71.84 kB / 0.6167 GB, free: 0.8477 MB / 426.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.0003097/0.4764, allocations: 143 kB / 0.6168 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005847/0.4823, allocations: 0.5317 MB / 0.6173 GB, free: 172 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4823, allocations: 0 / 0.6173 GB, free: 172 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005143/0.4875, allocations: 427.5 kB / 0.6177 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4878, allocations: 41.06 kB / 0.6178 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.4889, allocations: 0.5372 MB / 0.6183 GB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.4892, allocations: 0.7835 MB / 0.6191 GB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.4894, allocations: 53.86 kB / 0.6191 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.4895, allocations: 23.42 kB / 0.6192 GB, free: 14.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/0.4895, allocations: 0 / 0.6192 GB, free: 14.26 MB / 442.7 MB Notification: Performance of Templates: time 0.009316/0.4988, allocations: 5.473 MB / 0.6245 GB, free: 8.855 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches