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.002175/0.002174, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 95.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3293/0.3293, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.515e-05, allocations: 224 / 418.3 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4537, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.6184, allocations: 89.36 MB / 0.5532 GB, free: 9.938 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/0.6189, allocations: 99.92 kB / 0.5533 GB, free: 9.84 MB / 395.1 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.01711/0.636, allocations: 3.476 MB / 0.5567 GB, free: 6.352 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.636, allocations: 0 / 0.5567 GB, free: 6.352 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.6361, allocations: 8 kB / 0.5567 GB, free: 6.344 MB / 395.1 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.0006701/0.6367, allocations: 386.2 kB / 0.5571 GB, free: 5.922 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6368, allocations: 8.031 kB / 0.5571 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.6373, allocations: 43.86 kB / 0.5571 GB, free: 5.871 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.6375, allocations: 186.9 kB / 0.5573 GB, free: 5.648 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.6376, allocations: 4 kB / 0.5573 GB, free: 5.645 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.6376, allocations: 4 kB / 0.5573 GB, free: 5.641 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003127/0.6379, allocations: 99.94 kB / 0.5574 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.6383, allocations: 147 kB / 0.5575 GB, free: 5.387 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6383, allocations: 7.922 kB / 0.5575 GB, free: 5.379 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.6384, allocations: 4 kB / 0.5575 GB, free: 5.375 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.6384, allocations: 8 kB / 0.5575 GB, free: 5.367 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.6397, allocations: 0.6138 MB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.6401, allocations: 90.7 kB / 0.5582 GB, free: 4.598 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.6402, allocations: 28.84 kB / 0.5583 GB, free: 4.566 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.6402, allocations: 4 kB / 0.5583 GB, free: 4.562 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.6403, allocations: 34.5 kB / 0.5583 GB, free: 4.52 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 2.965e-06/0.6403, allocations: 0 / 0.5583 GB, free: 4.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002707/0.6406, allocations: 73.58 kB / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.6406, allocations: 55.41 kB / 0.5584 GB, free: 4.375 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.6407, allocations: 110.6 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.6408, allocations: 25.7 kB / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.6409, allocations: 194.2 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.6409, allocations: 27.64 kB / 0.5588 GB, free: 4.004 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.641, allocations: 0 / 0.5588 GB, free: 4.004 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6411, allocations: 318.8 kB / 0.5591 GB, free: 3.684 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.6412, allocations: 19.98 kB / 0.5591 GB, free: 3.664 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.6413, allocations: 79.66 kB / 0.5592 GB, free: 3.559 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.938e-05/0.6414, allocations: 31.98 kB / 0.5592 GB, free: 3.527 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.6415, allocations: 4 kB / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000299/0.6418, allocations: 129.5 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.6418, allocations: 4 kB / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6418, allocations: 4 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.6419, allocations: 4 kB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.6422, allocations: 43.91 kB / 0.5594 GB, free: 3.336 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.6422, allocations: 4 kB / 0.5594 GB, free: 3.332 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.6424, allocations: 24.08 kB / 0.5594 GB, free: 3.309 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.6425, allocations: 4 kB / 0.5594 GB, free: 3.305 MB / 395.1 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 0.0001005/0.6426, allocations: 108.9 kB / 0.5595 GB, free: 3.191 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.6426, allocations: 7.953 kB / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.6429, allocations: 94.27 kB / 0.5596 GB, free: 3.086 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6429, allocations: 0 / 0.5596 GB, free: 3.086 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6429, allocations: 0 / 0.5596 GB, free: 3.086 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6429, allocations: 4 kB / 0.5596 GB, free: 3.082 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.6432, allocations: 174.1 kB / 0.5598 GB, free: 2.875 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6433, allocations: 3.938 kB / 0.5598 GB, free: 2.871 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.6435, allocations: 27.98 kB / 0.5598 GB, free: 2.844 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.6436, allocations: 3.938 kB / 0.5598 GB, free: 2.84 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6436, allocations: 3.953 kB / 0.5598 GB, free: 2.836 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.6436, allocations: 3.984 kB / 0.5598 GB, free: 2.832 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.6436, allocations: 0 / 0.5598 GB, free: 2.832 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.6439, allocations: 183.7 kB / 0.56 GB, free: 2.637 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.644, allocations: 81.11 kB / 0.5601 GB, free: 2.539 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.644, allocations: 0 / 0.5601 GB, free: 2.539 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.6442, allocations: 11.94 kB / 0.5601 GB, free: 2.527 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.6442, allocations: 4 kB / 0.5601 GB, free: 2.523 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.6443, allocations: 7.984 kB / 0.5601 GB, free: 2.516 MB / 395.1 MB Notification: Performance of sorting global known variables: time 7.832e-05/0.6444, allocations: 96.41 kB / 0.5602 GB, free: 2.422 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.605e-06/0.6444, allocations: 0 / 0.5602 GB, free: 2.422 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.6448, allocations: 35.78 kB / 0.5602 GB, free: 2.387 MB / 395.1 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.0001978/0.645, allocations: 121.8 kB / 0.5603 GB, free: 2.262 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.6452, allocations: 63.92 kB / 0.5604 GB, free: 2.199 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6452, allocations: 0 / 0.5604 GB, free: 2.199 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.6453, allocations: 28.42 kB / 0.5604 GB, free: 2.172 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.6456, allocations: 19.8 kB / 0.5604 GB, free: 2.152 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.6461, allocations: 158.2 kB / 0.5606 GB, free: 1.965 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.6464, allocations: 0.7158 MB / 0.5613 GB, free: 1.223 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.6465, allocations: 15.42 kB / 0.5613 GB, free: 1.207 MB / 395.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6465, allocations: 0 / 0.5613 GB, free: 1.207 MB / 395.1 MB Notification: Performance of Templates: time 0.004672/0.6512, allocations: 1.456 MB / 0.5627 GB, free: 15.76 MB / 411.1 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