Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001108, allocations: 101.3 kB / 17.01 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 190.6 kB / 17.91 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.2 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 8.219 kB / 418.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 63.55 MB / 482.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002198/0.1395, allocations: 1.526 MB / 483.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.1435, allocations: 2.675 MB / 486.6 MB, free: 284 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.1436, allocations: 0 / 486.6 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.1438, allocations: 35.77 kB / 486.7 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.1441, allocations: 79.64 kB / 486.7 MB, free: 168 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.1454, allocations: 0.6231 MB / 487.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.1457, allocations: 266.7 kB / 487.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.958e-05/0.1458, allocations: 28.39 kB / 487.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.1461, allocations: 103.5 kB / 487.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1463, allocations: 115.5 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1463, allocations: 8 kB / 487.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.148, allocations: 1.166 MB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.328e-05/0.1481, allocations: 75.67 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.1481, allocations: 61.58 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.1489, allocations: 0.5536 MB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1489, allocations: 0 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1489, allocations: 0 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1489, allocations: 0 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009321/0.1499, allocations: 0.6277 MB / 490.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1499, allocations: 12.03 kB / 490.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.15, allocations: 31.58 kB / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1502, allocations: 242.5 kB / 490.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1503, allocations: 20.55 kB / 490.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.1503, allocations: 24 kB / 490.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.151, allocations: 475.2 kB / 491.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1511, allocations: 0 / 491.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.1511, allocations: 15.98 kB / 491.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.019e-05/0.1512, allocations: 44.97 kB / 491.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000844/0.152, allocations: 0.5582 MB / 491.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.1539, allocations: 1.311 MB / 493.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.1544, allocations: 280.9 kB / 493.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.1546, allocations: 104.8 kB / 493.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1547, allocations: 8 kB / 493.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1547, allocations: 38.56 kB / 493.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.1547, allocations: 3.938 kB / 493.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007648/0.1555, allocations: 353.1 kB / 493.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1555, allocations: 55.41 kB / 493.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1557, allocations: 136.4 kB / 494 MB, free: 8.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1557, allocations: 29.7 kB / 494.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1559, allocations: 199.7 kB / 494.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.156, allocations: 95.06 kB / 494.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.156, allocations: 8 kB / 494.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1561, allocations: 322.8 kB / 494.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1563, allocations: 87.92 kB / 494.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1566, allocations: 189.9 kB / 494.9 MB, free: 7.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.1569, allocations: 119.8 kB / 495.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.1569, allocations: 4 kB / 495.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005729/0.1575, allocations: 325.1 kB / 495.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1575, allocations: 14.67 kB / 495.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1575, allocations: 4 kB / 495.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1575, allocations: 11.94 kB / 495.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.158, allocations: 119.9 kB / 495.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.1593, allocations: 2.367 MB / 497.9 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1595, allocations: 43.91 kB / 497.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.1595, allocations: 16 kB / 497.9 MB, free: 4.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.1598, allocations: 173.7 kB / 498.1 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.1598, allocations: 11.91 kB / 498.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007959/0.1606, allocations: 362.4 kB / 498.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1606, allocations: 7.938 kB / 498.5 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1606, allocations: 0 / 498.5 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1606, allocations: 3.984 kB / 498.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.161, allocations: 353.2 kB / 498.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.161, allocations: 0 / 498.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.1615, allocations: 107.9 kB / 498.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1615, allocations: 0 / 498.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1615, allocations: 12 kB / 499 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.1627, allocations: 2.364 MB / 0.4896 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1627, allocations: 0 / 0.4896 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.1632, allocations: 376.7 kB / 0.4899 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.1633, allocations: 92.86 kB / 0.49 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.1633, allocations: 4 kB / 0.49 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1635, allocations: 23.88 kB / 0.49 GB, free: 480 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.1635, allocations: 23.97 kB / 0.4901 GB, free: 456 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1636, allocations: 15.94 kB / 0.4901 GB, free: 440 kB / 366.1 MB Notification: Performance of sorting global known variables: time 7.237e-05/0.1636, allocations: 107.2 kB / 0.4902 GB, free: 332 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1637, allocations: 0 / 0.4902 GB, free: 332 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007512/0.1644, allocations: 243.5 kB / 0.4904 GB, free: 88 kB / 366.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006564/0.1651, allocations: 343.4 kB / 0.4907 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007217/0.1658, allocations: 313 kB / 0.491 GB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1658, allocations: 0.6875 kB / 0.491 GB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.1662, allocations: 179.8 kB / 0.4912 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1666, allocations: 15.98 kB / 0.4912 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1676, allocations: 0.721 MB / 0.4919 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.168, allocations: 0.8026 MB / 0.4927 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.1683, allocations: 93.75 kB / 0.4928 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.1684, allocations: 27.44 kB / 0.4928 GB, free: 13.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1684, allocations: 0 / 0.4928 GB, free: 13.56 MB / 382.1 MB Notification: Performance of Templates: time 0.01144/0.1799, allocations: 5.944 MB / 0.4986 GB, free: 7.645 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches