Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009985/0.0009985, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.304/1.304, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009042, allocations: 90.67 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.19/0.19, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.47e-05, allocations: 4.219 kB / 451.9 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4967, allocations: 91.15 MB / 0.5907 GB, free: 14.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.4971, allocations: 103.5 kB / 0.5908 GB, free: 14.05 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01028/0.5074, allocations: 3.595 MB / 0.5943 GB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5074, allocations: 0 / 0.5943 GB, free: 10.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.5074, allocations: 0 / 0.5943 GB, free: 10.46 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004479/0.5079, allocations: 398.2 kB / 0.5947 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5079, allocations: 8.031 kB / 0.5947 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.5082, allocations: 35.88 kB / 0.5948 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.5083, allocations: 186.9 kB / 0.5949 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.5084, allocations: 11.98 kB / 0.595 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.5084, allocations: 15.94 kB / 0.595 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.5087, allocations: 168 kB / 0.5951 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5087, allocations: 4 kB / 0.5951 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.5087, allocations: 0 / 0.5951 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.5088, allocations: 11.98 kB / 0.5952 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.5089, allocations: 108 kB / 0.5953 GB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.5098, allocations: 0.6487 MB / 0.5959 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.51, allocations: 98.7 kB / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.5101, allocations: 32.84 kB / 0.596 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.5101, allocations: 3.953 kB / 0.596 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.5102, allocations: 34.56 kB / 0.596 GB, free: 8.523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.5102, allocations: 0 / 0.596 GB, free: 8.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001881/0.5104, allocations: 89.66 kB / 0.5961 GB, free: 8.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.5104, allocations: 51.41 kB / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.5105, allocations: 114.6 kB / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.5105, allocations: 29.7 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.5106, allocations: 119.8 kB / 0.5964 GB, free: 8.086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.5106, allocations: 27.64 kB / 0.5965 GB, free: 8.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.5106, allocations: 4 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5108, allocations: 314.8 kB / 0.5968 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.5108, allocations: 23.98 kB / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.5109, allocations: 88.36 kB / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.511, allocations: 35.97 kB / 0.5969 GB, free: 7.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.511, allocations: 4 kB / 0.5969 GB, free: 7.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001883/0.5112, allocations: 133.4 kB / 0.597 GB, free: 7.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5112, allocations: 9.359 kB / 0.597 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5112, allocations: 7.938 kB / 0.5971 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5112, allocations: 4 kB / 0.5971 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.5114, allocations: 48.16 kB / 0.5971 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5114, allocations: 4 kB / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.592e-05/0.5115, allocations: 19.84 kB / 0.5971 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.5116, allocations: 7.984 kB / 0.5971 GB, free: 7.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.105e-05/0.5116, allocations: 112.9 kB / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.5117, allocations: 11.84 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.5119, allocations: 102.2 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5119, allocations: 4 kB / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5119, allocations: 0 / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5119, allocations: 0 / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.5121, allocations: 193.6 kB / 0.5975 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5121, allocations: 0 / 0.5975 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.5123, allocations: 27.98 kB / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5123, allocations: 4 kB / 0.5976 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.5123, allocations: 7.938 kB / 0.5976 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5123, allocations: 3.953 kB / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5123, allocations: 3.984 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.5125, allocations: 184.4 kB / 0.5978 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.5126, allocations: 84.95 kB / 0.5978 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.5126, allocations: 4 kB / 0.5978 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5127, allocations: 15.98 kB / 0.5979 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.5127, allocations: 7.953 kB / 0.5979 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.5128, allocations: 3.984 kB / 0.5979 GB, free: 6.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.5128, allocations: 95.03 kB / 0.598 GB, free: 6.383 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5128, allocations: 0 / 0.598 GB, free: 6.383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.5131, allocations: 24 kB / 0.598 GB, free: 6.359 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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.5132, allocations: 133.8 kB / 0.5981 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.5134, allocations: 75.91 kB / 0.5982 GB, free: 6.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5134, allocations: 0 / 0.5982 GB, free: 6.148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.5134, allocations: 32.39 kB / 0.5982 GB, free: 6.117 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.5136, allocations: 4 kB / 0.5982 GB, free: 6.113 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.5139, allocations: 145.9 kB / 0.5984 GB, free: 5.945 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.5142, allocations: 0.7243 MB / 0.5991 GB, free: 5.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.403e-05/0.5143, allocations: 24.55 kB / 0.5991 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.5143, allocations: 11.44 kB / 0.5991 GB, free: 5.16 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5143, allocations: 0 / 0.5991 GB, free: 5.16 MB / 410.7 MB Notification: Performance of Templates: time 0.003232/0.5176, allocations: 1.116 MB / 0.6002 GB, free: 4.078 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches