Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007683/0.0007686, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 184.4 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3942/0.3942, allocations: 43.57 MB / 315 MB, free: 8.766 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005285/0.0005288, allocations: 16 kB / 384.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 58.86 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002222/0.1618, allocations: 1.509 MB / 445 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1632, allocations: 0.8229 MB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.1633, allocations: 4 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1635, allocations: 35.83 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.1638, allocations: 67.66 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.1639, allocations: 63.78 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.1642, allocations: 199.3 kB / 446.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.795e-05/0.1642, allocations: 12.27 kB / 446.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1644, allocations: 59.77 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1645, allocations: 91.7 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1646, allocations: 4 kB / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.1647, allocations: 63.89 kB / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.1648, allocations: 31.91 kB / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.1649, allocations: 65.44 kB / 446.5 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1651, allocations: 147.4 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1652, allocations: 0 / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1652, allocations: 0 / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1652, allocations: 0 / 446.6 MB, free: 9.469 MB / 382.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.0006016/0.1658, allocations: 403.2 kB / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1658, allocations: 8.031 kB / 447 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.1662, allocations: 28.81 kB / 447.1 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1664, allocations: 196.1 kB / 447.2 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1664, allocations: 4.375 kB / 447.3 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.1664, allocations: 24.11 kB / 447.3 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.1668, allocations: 176.1 kB / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1669, allocations: 0 / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.1669, allocations: 7.984 kB / 447.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/0.1669, allocations: 15.92 kB / 447.5 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.1673, allocations: 147.9 kB / 447.6 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.1682, allocations: 0.6406 MB / 448.3 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.1686, allocations: 118.6 kB / 448.4 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1687, allocations: 44.83 kB / 448.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1688, allocations: 0 / 448.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1688, allocations: 34.56 kB / 448.5 MB, free: 7.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1688, allocations: 4 kB / 448.5 MB, free: 7.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004786/0.1693, allocations: 153.7 kB / 448.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.1693, allocations: 51.41 kB / 448.7 MB, free: 7.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1694, allocations: 134.3 kB / 448.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1695, allocations: 25.7 kB / 448.8 MB, free: 7.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.1696, allocations: 119.9 kB / 448.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.1696, allocations: 31.58 kB / 449 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1696, allocations: 17.72 kB / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1698, allocations: 318.8 kB / 449.3 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1699, allocations: 43.97 kB / 449.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.1701, allocations: 99.69 kB / 449.4 MB, free: 6.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.1704, allocations: 155.5 kB / 449.6 MB, free: 6.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1704, allocations: 0 / 449.6 MB, free: 6.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003451/0.1707, allocations: 169.3 kB / 449.7 MB, free: 6.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1708, allocations: 8 kB / 449.8 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1708, allocations: 0 / 449.8 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1708, allocations: 4 kB / 449.8 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.171, allocations: 48.16 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.171, allocations: 8.391 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1711, allocations: 15.84 kB / 449.8 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1711, allocations: 8 kB / 449.8 MB, free: 5.953 MB / 382.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.1712, allocations: 133.7 kB / 450 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1713, allocations: 7.906 kB / 450 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.1716, allocations: 142 kB / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1716, allocations: 0 / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1716, allocations: 3.938 kB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1716, allocations: 3.984 kB / 450.1 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.1719, allocations: 197.6 kB / 450.3 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1719, allocations: 3.938 kB / 450.3 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.172, allocations: 35.98 kB / 450.4 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.172, allocations: 0 / 450.4 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1721, allocations: 4 kB / 450.4 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1721, allocations: 0 / 450.4 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1721, allocations: 0 / 450.4 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.1724, allocations: 227.3 kB / 450.6 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.1725, allocations: 84.95 kB / 450.7 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1725, allocations: 0 / 450.7 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.1726, allocations: 15.98 kB / 450.7 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.1727, allocations: 7.984 kB / 450.7 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.1727, allocations: 8 kB / 450.7 MB, free: 5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.1727, allocations: 103.3 kB / 450.8 MB, free: 4.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.1728, allocations: 0 / 450.8 MB, free: 4.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.173, allocations: 27.94 kB / 450.8 MB, free: 4.871 MB / 382.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.1732, allocations: 103.2 kB / 450.9 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.1735, allocations: 107.9 kB / 451 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1735, allocations: 0 / 451 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1736, allocations: 52.41 kB / 451.1 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1739, allocations: 11.94 kB / 451.1 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.1744, allocations: 321 kB / 451.4 MB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1748, allocations: 0.7043 MB / 452.1 MB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1749, allocations: 32.52 kB / 452.1 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.175, allocations: 11.44 kB / 452.1 MB, free: 3.469 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.175, allocations: 0 / 452.1 MB, free: 3.469 MB / 382.1 MB Notification: Performance of Templates: time 0.003358/0.1783, allocations: 0.8245 MB / 453 MB, free: 2.656 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches