Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 178.3 kB / 17.41 MB, free: 4.41 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.264/1.264, allocations: 205.4 MB / 223.6 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.0007183/0.0007183, allocations: 85.94 kB / 271.9 MB, free: 8.254 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.3091/0.3091, allocations: 43.56 MB / 363.8 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003508, allocations: 12 kB / 432.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.461, allocations: 90.15 MB / 0.568 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.4613, allocations: 101.2 kB / 0.5681 GB, free: 12.16 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5968:11-5971: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 3.2.3+maint.om/Fluid/Dissipation.mo:5973:11-5976: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 3.2.3+maint.om/Fluid/Dissipation.mo:5979:11-5982: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 3.2.3+maint.om/Fluid/Dissipation.mo:5984:11-5987: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.01014/0.4714, allocations: 3.521 MB / 0.5715 GB, free: 8.652 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4715, allocations: 0 / 0.5715 GB, free: 8.652 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.4715, allocations: 4 kB / 0.5715 GB, free: 8.648 MB / 394.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.0005935/0.4721, allocations: 406.8 kB / 0.5719 GB, free: 8.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4721, allocations: 12.03 kB / 0.5719 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.4724, allocations: 32.81 kB / 0.572 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4726, allocations: 197.8 kB / 0.5721 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4726, allocations: 12.36 kB / 0.5722 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.4727, allocations: 4.375 kB / 0.5722 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.4731, allocations: 187.7 kB / 0.5723 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4731, allocations: 192 / 0.5723 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.4731, allocations: 7.938 kB / 0.5724 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.4732, allocations: 11.98 kB / 0.5724 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.4735, allocations: 148.8 kB / 0.5725 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.4744, allocations: 0.6448 MB / 0.5731 GB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.4748, allocations: 114.7 kB / 0.5732 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.4749, allocations: 40.98 kB / 0.5733 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.4749, allocations: 3.984 kB / 0.5733 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4749, allocations: 42.5 kB / 0.5733 GB, free: 6.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4749, allocations: 0 / 0.5733 GB, free: 6.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004416/0.4754, allocations: 157.5 kB / 0.5735 GB, free: 6.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.4754, allocations: 51.41 kB / 0.5735 GB, free: 6.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4756, allocations: 122 kB / 0.5736 GB, free: 6.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4756, allocations: 25.7 kB / 0.5737 GB, free: 6.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.4757, allocations: 123.9 kB / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.4757, allocations: 27.56 kB / 0.5738 GB, free: 6.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.4757, allocations: 4 kB / 0.5738 GB, free: 6.074 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4758, allocations: 318.8 kB / 0.5741 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.476, allocations: 43.97 kB / 0.5742 GB, free: 5.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.4761, allocations: 96.38 kB / 0.5743 GB, free: 5.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.4764, allocations: 162 kB / 0.5744 GB, free: 5.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4764, allocations: 3.938 kB / 0.5744 GB, free: 5.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00032/0.4767, allocations: 169.4 kB / 0.5746 GB, free: 5.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4768, allocations: 7.984 kB / 0.5746 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4768, allocations: 4 kB / 0.5746 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4768, allocations: 3.984 kB / 0.5746 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.477, allocations: 44.23 kB / 0.5746 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.477, allocations: 11.86 kB / 0.5746 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.4771, allocations: 25.09 kB / 0.5747 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4771, allocations: 4 kB / 0.5747 GB, free: 5.133 MB / 394.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 () * Number of clocked 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 9.328e-05/0.4772, allocations: 125.8 kB / 0.5748 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.4773, allocations: 11.84 kB / 0.5748 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.4776, allocations: 137.9 kB / 0.5749 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4776, allocations: 0 / 0.5749 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4776, allocations: 0 / 0.5749 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4777, allocations: 4 kB / 0.5749 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4779, allocations: 197.6 kB / 0.5751 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4779, allocations: 4 kB / 0.5751 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.478, allocations: 30.92 kB / 0.5752 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.478, allocations: 4 kB / 0.5752 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.4781, allocations: 4 kB / 0.5752 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4781, allocations: 0 / 0.5752 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4781, allocations: 0 / 0.5752 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.4784, allocations: 224.7 kB / 0.5754 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.4784, allocations: 88.89 kB / 0.5755 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.4785, allocations: 4 kB / 0.5755 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.4786, allocations: 11.98 kB / 0.5755 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.4786, allocations: 7.984 kB / 0.5755 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4786, allocations: 4 kB / 0.5755 GB, free: 4.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.401e-05/0.4787, allocations: 95.27 kB / 0.5756 GB, free: 4.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4787, allocations: 0 / 0.5756 GB, free: 4.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.479, allocations: 24 kB / 0.5756 GB, free: 4.078 MB / 394.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 (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.0001558/0.4791, allocations: 119.2 kB / 0.5757 GB, free: 3.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002872/0.4794, allocations: 111.8 kB / 0.5758 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4794, allocations: 0 / 0.5758 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.4795, allocations: 48.47 kB / 0.5759 GB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.4798, allocations: 15.88 kB / 0.5759 GB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.4804, allocations: 337.9 kB / 0.5762 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.4807, allocations: 0.7082 MB / 0.5769 GB, free: 2.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.4807, allocations: 11.44 kB / 0.5769 GB, free: 2.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4807, allocations: 0 / 0.5769 GB, free: 2.68 MB / 394.7 MB Notification: Performance of Templates: time 0.003193/0.4839, allocations: 1.46 MB / 0.5783 GB, free: 1.234 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches