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.001103/0.001103, allocations: 109.9 kB / 18.45 MB, free: 4.602 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.00121/0.00121, allocations: 185.9 kB / 19.38 MB, free: 3.68 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.399/1.399, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2282/0.2282, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.354, allocations: 60.83 MB / 0.5196 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002462/0.3565, allocations: 1.443 MB / 0.521 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3582, allocations: 1.407 MB / 0.5224 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.3583, allocations: 0 / 0.5224 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.3585, allocations: 39.45 kB / 0.5224 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.3587, allocations: 52.83 kB / 0.5225 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.3592, allocations: 219.4 kB / 0.5227 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3593, allocations: 62 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.3594, allocations: 4.984 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.594e-05/0.3594, allocations: 22.75 kB / 0.5228 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.3595, allocations: 22.52 kB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3595, allocations: 2.438 kB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005998/0.3601, allocations: 332.9 kB / 0.5231 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.3602, allocations: 15.69 kB / 0.5231 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.3602, allocations: 27.64 kB / 0.5231 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.3607, allocations: 281.3 kB / 0.5234 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3607, allocations: 1.344 kB / 0.5234 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3607, allocations: 0 / 0.5234 GB, free: 1.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3607, allocations: 0 / 0.5234 GB, free: 1.148 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004815/0.3612, allocations: 412.4 kB / 0.5238 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3613, allocations: 8.688 kB / 0.5238 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3613, allocations: 7.75 kB / 0.5238 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.3614, allocations: 182.3 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3614, allocations: 1.719 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.3614, allocations: 7.281 kB / 0.524 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3616, allocations: 70.5 kB / 0.5241 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3616, allocations: 1.156 kB / 0.5241 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3616, allocations: 0 / 0.5241 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3616, allocations: 1.812 kB / 0.5241 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.3617, allocations: 54.86 kB / 0.5241 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.3619, allocations: 194 kB / 0.5243 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.362, allocations: 63.44 kB / 0.5244 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.3621, allocations: 43.66 kB / 0.5244 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.086e-05/0.3621, allocations: 19.38 kB / 0.5244 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.3622, allocations: 40.27 kB / 0.5245 GB, free: 132 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.3622, allocations: 0 / 0.5245 GB, free: 132 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02068/0.3829, allocations: 1.618 MB / 0.526 GB, free: 15.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3829, allocations: 53.62 kB / 0.5261 GB, free: 15.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3831, allocations: 136.2 kB / 0.5262 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.3831, allocations: 30.83 kB / 0.5263 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.3832, allocations: 93.11 kB / 0.5263 GB, free: 15.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.3832, allocations: 33.34 kB / 0.5264 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3833, allocations: 46.42 kB / 0.5264 GB, free: 15.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3835, allocations: 321.6 kB / 0.5267 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006484/0.3841, allocations: 204.2 kB / 0.5269 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.3848, allocations: 203.5 kB / 0.5271 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.386, allocations: 384.4 kB / 0.5275 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.386, allocations: 0 / 0.5275 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001384/0.3874, allocations: 454.4 kB / 0.5279 GB, free: 14.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3875, allocations: 5.719 kB / 0.5279 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3875, allocations: 160 / 0.5279 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3875, allocations: 5.094 kB / 0.5279 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.3881, allocations: 72.42 kB / 0.528 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3881, allocations: 3.984 kB / 0.528 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.3885, allocations: 45.72 kB / 0.528 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3886, allocations: 8.984 kB / 0.528 GB, free: 14.29 MB / 398.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.0001177/0.3887, allocations: 116.4 kB / 0.5282 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.3887, allocations: 11.41 kB / 0.5282 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.3902, allocations: 359.2 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3902, allocations: 4 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3902, allocations: 3.938 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3903, allocations: 107.4 kB / 0.5286 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.3904, allocations: 9.078 kB / 0.5286 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.3908, allocations: 36.41 kB / 0.5287 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.3908, allocations: 15.2 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001707/0.3926, allocations: 432.9 kB / 0.5291 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001319/0.3939, allocations: 486.8 kB / 0.5296 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005694/0.3945, allocations: 149.7 kB / 0.5297 GB, free: 13.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.259e-05/0.3946, allocations: 107.9 kB / 0.5298 GB, free: 13.07 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3946, allocations: 0 / 0.5298 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.3964, allocations: 464.5 kB / 0.5302 GB, free: 12.82 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006562/0.3971, allocations: 0.6473 MB / 0.5309 GB, free: 12.18 MB / 398.1 MB Notification: Performance of Templates: time 0.0137/0.4108, allocations: 8.659 MB / 0.5393 GB, free: 7.492 MB / 398.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