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.001547/0.001547, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001068/0.001068, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2699/0.2699, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.989e-05/4.01e-05, allocations: 0 / 425.3 MB, free: 23.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 58.85 MB / 484.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.5959, allocations: 90.03 MB / 0.5607 GB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/0.5964, allocations: 101.9 kB / 0.5608 GB, free: 13.5 MB / 378.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.01761/0.614, allocations: 3.506 MB / 0.5642 GB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.949e-06/0.614, allocations: 3.984 kB / 0.5643 GB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.6141, allocations: 0 / 0.5643 GB, free: 10.46 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006893/0.6148, allocations: 390.1 kB / 0.5646 GB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.6148, allocations: 8.031 kB / 0.5646 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004493/0.6153, allocations: 43.8 kB / 0.5647 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.6156, allocations: 190.4 kB / 0.5649 GB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.6156, allocations: 4 kB / 0.5649 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.6157, allocations: 11.94 kB / 0.5649 GB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.6161, allocations: 160.7 kB / 0.565 GB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6161, allocations: 4 kB / 0.565 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.6162, allocations: 3.875 kB / 0.565 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.6162, allocations: 19.92 kB / 0.5651 GB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.6165, allocations: 112.8 kB / 0.5652 GB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.6178, allocations: 0.655 MB / 0.5658 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.6183, allocations: 99.42 kB / 0.5659 GB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.6185, allocations: 20.36 kB / 0.5659 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.6185, allocations: 7.984 kB / 0.5659 GB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.6185, allocations: 41.12 kB / 0.566 GB, free: 8.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/0.6186, allocations: 0 / 0.566 GB, free: 8.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003021/0.6189, allocations: 78.83 kB / 0.566 GB, free: 8.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.6189, allocations: 51.41 kB / 0.5661 GB, free: 8.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.6191, allocations: 112.9 kB / 0.5662 GB, free: 8.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.6191, allocations: 28.83 kB / 0.5662 GB, free: 8.379 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.6192, allocations: 193.7 kB / 0.5664 GB, free: 8.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.6193, allocations: 27.58 kB / 0.5664 GB, free: 8.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.6193, allocations: 3.5 kB / 0.5664 GB, free: 8.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6194, allocations: 318.8 kB / 0.5667 GB, free: 7.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.6195, allocations: 26.11 kB / 0.5668 GB, free: 7.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.6197, allocations: 84 kB / 0.5668 GB, free: 7.723 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.6198, allocations: 38.52 kB / 0.5669 GB, free: 7.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6198, allocations: 0 / 0.5669 GB, free: 7.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003182/0.6201, allocations: 133.7 kB / 0.567 GB, free: 7.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.6202, allocations: 8 kB / 0.567 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6202, allocations: 0 / 0.567 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.6202, allocations: 4 kB / 0.567 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.6206, allocations: 43.91 kB / 0.5671 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.6206, allocations: 8.25 kB / 0.5671 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.6208, allocations: 23.14 kB / 0.5671 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.6208, allocations: 8 kB / 0.5671 GB, free: 7.48 MB / 378.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 9.654e-05/0.6209, allocations: 116.2 kB / 0.5672 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.621, allocations: 0 / 0.5672 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.6213, allocations: 99.09 kB / 0.5673 GB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6213, allocations: 4 kB / 0.5673 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6213, allocations: 0 / 0.5673 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6213, allocations: 0 / 0.5673 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.6216, allocations: 204.1 kB / 0.5675 GB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6216, allocations: 0 / 0.5675 GB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.6219, allocations: 35.36 kB / 0.5675 GB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6219, allocations: 3.938 kB / 0.5675 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.622, allocations: 4 kB / 0.5675 GB, free: 7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.622, allocations: 3.984 kB / 0.5675 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.622, allocations: 4 kB / 0.5675 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.6223, allocations: 182.3 kB / 0.5677 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.6223, allocations: 89 kB / 0.5678 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.6224, allocations: 0 / 0.5678 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.6226, allocations: 15.73 kB / 0.5678 GB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.6226, allocations: 3.984 kB / 0.5678 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.6226, allocations: 8 kB / 0.5678 GB, free: 6.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.6227, allocations: 95.16 kB / 0.5679 GB, free: 6.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6227, allocations: 3.938 kB / 0.5679 GB, free: 6.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.6231, allocations: 27.22 kB / 0.568 GB, free: 6.566 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 () * 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.0002158/0.6233, allocations: 133.5 kB / 0.5681 GB, free: 6.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.6236, allocations: 65.92 kB / 0.5681 GB, free: 6.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6236, allocations: 4.125 kB / 0.5681 GB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.6237, allocations: 35.42 kB / 0.5682 GB, free: 6.352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.624, allocations: 4 kB / 0.5682 GB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.6245, allocations: 165.9 kB / 0.5683 GB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.6248, allocations: 0.7082 MB / 0.569 GB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.6249, allocations: 15.42 kB / 0.5691 GB, free: 5.414 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6249, allocations: 0 / 0.5691 GB, free: 5.414 MB / 378.7 MB Notification: Performance of Templates: time 0.004627/0.6296, allocations: 1.468 MB / 0.5705 GB, free: 3.953 MB / 378.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