Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 118.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1997/0.1997, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 76.16 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 62.44 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002827/0.1064, allocations: 1.479 MB / 482.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1083, allocations: 1.44 MB / 484.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.1084, allocations: 0 / 484.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1085, allocations: 31.78 kB / 484.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.1087, allocations: 51.69 kB / 484.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.1091, allocations: 223.1 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.729e-05/0.1093, allocations: 59.66 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.1093, allocations: 4 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.1093, allocations: 27.86 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.1094, allocations: 27.86 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1094, allocations: 4 kB / 484.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/0.11, allocations: 343.5 kB / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.11, allocations: 0 / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.1101, allocations: 35.8 kB / 485.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.1104, allocations: 271.4 kB / 485.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1105, allocations: 0 / 485.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1105, allocations: 0 / 485.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1105, allocations: 0 / 485.4 MB, free: 0.5547 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005243/0.111, allocations: 423.1 kB / 485.9 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.111, allocations: 12.03 kB / 485.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.1111, allocations: 4.844 kB / 485.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1112, allocations: 176.3 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1112, allocations: 8.375 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1113, allocations: 384 / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.1114, allocations: 69.8 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1114, allocations: 0 / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1114, allocations: 0 / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1114, allocations: 0 / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/0.1115, allocations: 59.97 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1117, allocations: 189.5 kB / 486.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/0.1118, allocations: 62.48 kB / 486.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.1119, allocations: 44.83 kB / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.1119, allocations: 16 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1119, allocations: 38.73 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.112, allocations: 0 / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.01863/0.1306, allocations: 1.622 MB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1307, allocations: 55.41 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1308, allocations: 136.4 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.1309, allocations: 29.7 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.1309, allocations: 84.12 kB / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.131, allocations: 47.39 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1311, allocations: 41.69 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1312, allocations: 318.8 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.1318, allocations: 203.8 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.1324, allocations: 206.8 kB / 489.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.1335, allocations: 384.7 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1335, allocations: 4 kB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001292/0.1348, allocations: 453.3 kB / 490.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1348, allocations: 4 kB / 490.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1349, allocations: 3.984 kB / 490.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1349, allocations: 4 kB / 490.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.1354, allocations: 63.88 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1354, allocations: 4 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.1358, allocations: 39.95 kB / 490.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.1358, allocations: 4 kB / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001067/0.1359, allocations: 121.8 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.136, allocations: 15.81 kB / 490.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.1372, allocations: 366 kB / 490.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1373, allocations: 3.984 kB / 490.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1373, allocations: 3.984 kB / 490.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1373, allocations: 0 / 490.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.1399, allocations: 0.7778 MB / 491.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1399, allocations: 0 / 491.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.1404, allocations: 64.03 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1404, allocations: 0 / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.1404, allocations: 7.984 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1404, allocations: 4 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.1404, allocations: 3.938 kB / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.1416, allocations: 429.7 kB / 492 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1417, allocations: 109 kB / 492.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.1417, allocations: 0 / 492.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.1421, allocations: 39.97 kB / 492.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.1422, allocations: 15.92 kB / 492.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1422, allocations: 7.984 kB / 492.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.1422, allocations: 95.27 kB / 492.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1423, allocations: 0 / 492.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005304/0.1428, allocations: 171.9 kB / 492.4 MB, free: 9.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.0005981/0.1434, allocations: 255 kB / 492.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.1446, allocations: 371.7 kB / 493 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1446, allocations: 0 / 493 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.1451, allocations: 148.1 kB / 493.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1455, allocations: 30.39 kB / 493.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.1478, allocations: 0.5068 MB / 493.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.148, allocations: 0.6963 MB / 494.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.1482, allocations: 40.64 kB / 494.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.1483, allocations: 27.41 kB / 494.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1484, allocations: 0 / 494.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of Templates: time 0.01153/0.1599, allocations: 8.54 MB / 0.4912 GB, free: 14.57 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches