Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008438/0.0008439, allocations: 90.12 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1806/0.1806, allocations: 45.16 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.678e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09493, allocations: 63.24 MB / 0.5114 GB, free: 6.773 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/0.4485, allocations: 93.15 MB / 0.6024 GB, free: 396 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.4489, allocations: 96.86 kB / 0.6024 GB, free: 336 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0159/0.4648, allocations: 6.105 MB / 0.6084 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4648, allocations: 4 kB / 0.6084 GB, free: 10.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4649, allocations: 4 kB / 0.6084 GB, free: 10.96 MB / 410.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.0004728/0.4653, allocations: 483.3 kB / 0.6089 GB, free: 10.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4654, allocations: 15.97 kB / 0.6089 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.4666, allocations: 201.4 kB / 0.6091 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.4669, allocations: 271.4 kB / 0.6093 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.467, allocations: 26.25 kB / 0.6094 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.467, allocations: 22.69 kB / 0.6094 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.4676, allocations: 440.8 kB / 0.6098 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4676, allocations: 0 / 0.6098 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.4677, allocations: 14.92 kB / 0.6098 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.4677, allocations: 16.56 kB / 0.6098 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006631/0.4684, allocations: 0.5114 MB / 0.6103 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.4702, allocations: 1.178 MB / 0.6115 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.4705, allocations: 105.5 kB / 0.6116 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.4706, allocations: 56.12 kB / 0.6116 GB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.4706, allocations: 4.141 kB / 0.6116 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.4706, allocations: 41.94 kB / 0.6117 GB, free: 7.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.4707, allocations: 0 / 0.6117 GB, free: 7.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003748/0.471, allocations: 140.8 kB / 0.6118 GB, free: 7.777 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.4711, allocations: 55.34 kB / 0.6119 GB, free: 7.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.4713, allocations: 253.6 kB / 0.6121 GB, free: 7.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.4713, allocations: 25.7 kB / 0.6121 GB, free: 7.457 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.4714, allocations: 170.2 kB / 0.6123 GB, free: 7.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.4715, allocations: 31.45 kB / 0.6123 GB, free: 7.293 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.4715, allocations: 0 / 0.6123 GB, free: 7.293 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.4716, allocations: 338.5 kB / 0.6127 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.4717, allocations: 54.28 kB / 0.6127 GB, free: 6.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.4718, allocations: 81.97 kB / 0.6128 GB, free: 6.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.472, allocations: 58.52 kB / 0.6128 GB, free: 6.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.472, allocations: 4 kB / 0.6128 GB, free: 6.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000352/0.4723, allocations: 185.7 kB / 0.613 GB, free: 6.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4724, allocations: 8 kB / 0.613 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.4724, allocations: 0 / 0.613 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.4724, allocations: 0 / 0.613 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00486/0.4772, allocations: 454.8 kB / 0.6135 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.4797, allocations: 1.913 MB / 0.6153 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.4801, allocations: 47.83 kB / 0.6154 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.4801, allocations: 15.95 kB / 0.6154 GB, free: 4.164 MB / 410.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 () * 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 8.619e-05/0.4802, allocations: 104.4 kB / 0.6155 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.4803, allocations: 15.81 kB / 0.6155 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.4803, allocations: 31.58 kB / 0.6155 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4803, allocations: 0 / 0.6155 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4803, allocations: 3.938 kB / 0.6155 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4804, allocations: 4 kB / 0.6155 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.4807, allocations: 296 kB / 0.6158 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4807, allocations: 0 / 0.6158 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004681/0.4854, allocations: 446.2 kB / 0.6162 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4854, allocations: 0 / 0.6162 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.4854, allocations: 7.984 kB / 0.6163 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.4879, allocations: 1.909 MB / 0.6181 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4879, allocations: 96 / 0.6181 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.4882, allocations: 261.2 kB / 0.6184 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.4883, allocations: 92.92 kB / 0.6185 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.4884, allocations: 3.062 kB / 0.6185 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.4887, allocations: 19.97 kB / 0.6185 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.4888, allocations: 11.97 kB / 0.6185 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.4888, allocations: 0 / 0.6185 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.489, allocations: 209.5 kB / 0.6187 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.974e-06/0.489, allocations: 4 kB / 0.6187 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.4894, allocations: 75.34 kB / 0.6188 GB, free: 0.6719 MB / 410.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 () * 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.0002152/0.4896, allocations: 135.3 kB / 0.6189 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004443/0.494, allocations: 461.6 kB / 0.6193 GB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.494, allocations: 0 / 0.6193 GB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004244/0.4983, allocations: 398.9 kB / 0.6197 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.4986, allocations: 40.25 kB / 0.6198 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.4991, allocations: 294.4 kB / 0.62 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.4994, allocations: 0.7818 MB / 0.6208 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.4996, allocations: 54.17 kB / 0.6209 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.4996, allocations: 23.42 kB / 0.6209 GB, free: 14.53 MB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/0.4996, allocations: 0 / 0.6209 GB, free: 14.53 MB / 426.7 MB Notification: Performance of Templates: time 0.00892/0.5086, allocations: 5.552 MB / 0.6263 GB, free: 9.055 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches