Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 94.98 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 180.1 kB / 18.91 MB, free: 4.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 243 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1823/0.1823, allocations: 44.25 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 61.94 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002054/0.1196, allocations: 1.164 MB / 474.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1224, allocations: 1.425 MB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.1224, allocations: 0 / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.1227, allocations: 31.83 kB / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.1229, allocations: 35.83 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.1236, allocations: 167.4 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1237, allocations: 55.67 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.1238, allocations: 8.266 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.1239, allocations: 23.94 kB / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.124, allocations: 31.84 kB / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.124, allocations: 0 / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.1249, allocations: 331.6 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.125, allocations: 7.922 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.1251, allocations: 53.56 kB / 476.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.1256, allocations: 191.5 kB / 476.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1256, allocations: 0 / 476.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1256, allocations: 0 / 476.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1256, allocations: 0 / 476.4 MB, free: 9.762 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.0006771/0.1263, allocations: 409.5 kB / 476.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.1264, allocations: 8.031 kB / 476.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.1264, allocations: 8.844 kB / 476.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.1266, allocations: 172.3 kB / 477 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1266, allocations: 384 / 477 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.1267, allocations: 4.375 kB / 477 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1268, allocations: 73.73 kB / 477.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1269, allocations: 4 kB / 477.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1269, allocations: 4 kB / 477.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.1269, allocations: 0 / 477.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.127, allocations: 51.97 kB / 477.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.1273, allocations: 189.5 kB / 477.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1275, allocations: 58.56 kB / 477.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.1276, allocations: 44.83 kB / 477.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.945e-05/0.1276, allocations: 20.22 kB / 477.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1277, allocations: 42.44 kB / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.1277, allocations: 0 / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02629/0.154, allocations: 1.689 MB / 479.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1541, allocations: 55.39 kB / 479.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1542, allocations: 136.9 kB / 479.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1543, allocations: 25.7 kB / 479.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.1543, allocations: 96.05 kB / 479.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.1544, allocations: 39.44 kB / 479.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.1545, allocations: 29.7 kB / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1546, allocations: 314.8 kB / 479.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.1553, allocations: 207.9 kB / 480.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007392/0.1561, allocations: 223.7 kB / 480.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.1576, allocations: 396.7 kB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1576, allocations: 0 / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001619/0.1592, allocations: 490.5 kB / 481.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1593, allocations: 4 kB / 481.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1593, allocations: 0 / 481.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1593, allocations: 0 / 481.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.1599, allocations: 79.89 kB / 481.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.16, allocations: 0 / 481.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/0.1605, allocations: 43.95 kB / 481.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.1605, allocations: 15.97 kB / 481.3 MB, free: 4.648 MB / 350.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.0001332/0.1607, allocations: 121.7 kB / 481.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.1607, allocations: 11.84 kB / 481.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.1624, allocations: 390 kB / 481.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1624, allocations: 11.98 kB / 481.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1624, allocations: 4 kB / 481.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1624, allocations: 0 / 481.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.1659, allocations: 0.8167 MB / 482.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1659, allocations: 0 / 482.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.1665, allocations: 83.92 kB / 482.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1665, allocations: 0 / 482.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.1665, allocations: 15.97 kB / 482.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1665, allocations: 0 / 482.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1665, allocations: 3.938 kB / 482.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.1681, allocations: 461.7 kB / 483.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1682, allocations: 112.9 kB / 483.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1683, allocations: 0 / 483.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/0.1688, allocations: 47.95 kB / 483.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.1689, allocations: 7.938 kB / 483.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.1689, allocations: 15.97 kB / 483.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.187e-05/0.169, allocations: 111.2 kB / 483.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.169, allocations: 0 / 483.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006221/0.1696, allocations: 164 kB / 483.6 MB, free: 2.176 MB / 350.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.0006968/0.1703, allocations: 247.5 kB / 483.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.1718, allocations: 403.7 kB / 484.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1718, allocations: 3.938 kB / 484.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.1725, allocations: 164 kB / 484.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1729, allocations: 20.14 kB / 484.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.1759, allocations: 0.6121 MB / 485.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1762, allocations: 0.6926 MB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.1764, allocations: 51.34 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1764, allocations: 0 / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Templates: time 0.008112/0.1845, allocations: 4.675 MB / 490.5 MB, free: 11.25 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches