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.001332/0.001332, allocations: 184.1 kB / 16.41 MB, free: 5.574 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.302/1.302, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0006854/0.0006853, allocations: 88.92 kB / 270.9 MB, free: 8.367 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.3821/0.3821, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004355, allocations: 12 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1427, allocations: 58.84 MB / 490.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002284/0.145, allocations: 1.477 MB / 491.7 MB, free: 9.723 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1464, allocations: 0.7766 MB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.1465, allocations: 0 / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.1467, allocations: 35.83 kB / 492.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.147, allocations: 67.7 kB / 492.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.1472, allocations: 55.73 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1474, allocations: 163.4 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.1474, allocations: 15.97 kB / 492.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1476, allocations: 59.77 kB / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1478, allocations: 71.73 kB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.1478, allocations: 4 kB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.148, allocations: 63.88 kB / 493 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.1481, allocations: 27.91 kB / 493.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.1481, allocations: 37.64 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1483, allocations: 100 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1483, allocations: 0 / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1483, allocations: 0 / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1483, allocations: 4 kB / 493.2 MB, free: 8.242 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.0006024/0.149, allocations: 399 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.149, allocations: 11.97 kB / 493.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.1494, allocations: 39.83 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1496, allocations: 178.9 kB / 493.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1496, allocations: 11.98 kB / 493.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1496, allocations: 12 kB / 493.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.1501, allocations: 184.1 kB / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1501, allocations: 3.938 kB / 494 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1501, allocations: 3.938 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.1502, allocations: 11.98 kB / 494 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.1505, allocations: 151.8 kB / 494.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.1514, allocations: 0.6407 MB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.1518, allocations: 118.6 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.152, allocations: 40.83 kB / 495 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.152, allocations: 3.984 kB / 495 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1521, allocations: 34.56 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.1521, allocations: 0 / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004665/0.1525, allocations: 157.5 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1526, allocations: 55.41 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1527, allocations: 133.9 kB / 495.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1527, allocations: 25.7 kB / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.1528, allocations: 119.9 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1528, allocations: 19.81 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.1528, allocations: 4 kB / 495.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.153, allocations: 322.8 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1531, allocations: 39.97 kB / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1533, allocations: 107.5 kB / 496 MB, free: 5.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1534, allocations: 55.91 kB / 496 MB, free: 5.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1534, allocations: 4 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003382/0.1538, allocations: 165.6 kB / 496.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1538, allocations: 12.25 kB / 496.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1538, allocations: 0 / 496.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1538, allocations: 7.938 kB / 496.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.154, allocations: 43.91 kB / 496.3 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.154, allocations: 4.078 kB / 496.3 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1541, allocations: 23.84 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1542, allocations: 15.92 kB / 496.3 MB, free: 4.859 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 () * 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 0.0001121/0.1543, allocations: 125.8 kB / 496.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.1543, allocations: 11.89 kB / 496.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.1547, allocations: 133.9 kB / 496.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1547, allocations: 4 kB / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1547, allocations: 0 / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1547, allocations: 0 / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1549, allocations: 205.6 kB / 496.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1549, allocations: 3.984 kB / 496.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.1551, allocations: 27.98 kB / 496.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1551, allocations: 0 / 496.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.1551, allocations: 4 kB / 496.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1551, allocations: 4 kB / 496.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1551, allocations: 7.922 kB / 496.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.1555, allocations: 219.3 kB / 497 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.1555, allocations: 88.95 kB / 497.1 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1555, allocations: 4 kB / 497.1 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1556, allocations: 11.98 kB / 497.1 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.1557, allocations: 7.984 kB / 497.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.1557, allocations: 0 / 497.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.1558, allocations: 95.27 kB / 497.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1558, allocations: 4 kB / 497.2 MB, free: 3.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.156, allocations: 20 kB / 497.3 MB, free: 3.801 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 () * 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.0001382/0.1562, allocations: 103.2 kB / 497.4 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.1565, allocations: 116.3 kB / 497.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1565, allocations: 0 / 497.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1566, allocations: 47.91 kB / 497.5 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.1569, allocations: 15.89 kB / 497.5 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.1574, allocations: 334.7 kB / 497.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1577, allocations: 0.7043 MB / 498.6 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.1578, allocations: 23.42 kB / 498.6 MB, free: 2.398 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1578, allocations: 0 / 498.6 MB, free: 2.398 MB / 378.7 MB Notification: Performance of Templates: time 0.002905/0.1607, allocations: 1.301 MB / 499.9 MB, free: 1.105 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/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches