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.001308/0.001308, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3238, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002505/0.3264, allocations: 1.464 MB / 0.5331 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3283, allocations: 1.449 MB / 0.5345 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.3283, allocations: 0 / 0.5345 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.3285, allocations: 30.78 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.3288, allocations: 46.69 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.3292, allocations: 230.5 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3293, allocations: 56.2 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.3294, allocations: 3.906 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.3295, allocations: 28.11 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.3295, allocations: 25.8 kB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.3296, allocations: 2.156 kB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.3302, allocations: 338.8 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.3302, allocations: 10.06 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.3302, allocations: 29.86 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.3307, allocations: 278.4 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3307, allocations: 0 / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3307, allocations: 1.125 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3307, allocations: 0 / 0.5355 GB, free: 10.66 MB / 398.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.000539/0.3313, allocations: 411.1 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3313, allocations: 8.938 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3314, allocations: 11.97 kB / 0.536 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3315, allocations: 183.7 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3315, allocations: 2.438 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.3315, allocations: 3.688 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3317, allocations: 71.38 kB / 0.5362 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3317, allocations: 0 / 0.5362 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3317, allocations: 5.031 kB / 0.5362 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3317, allocations: 1.375 kB / 0.5362 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.627e-05/0.3318, allocations: 53.62 kB / 0.5363 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.332, allocations: 190 kB / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/0.3321, allocations: 68.5 kB / 0.5365 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.3322, allocations: 39.94 kB / 0.5365 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-05/0.3322, allocations: 20.58 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3323, allocations: 35.44 kB / 0.5366 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3323, allocations: 0 / 0.5366 GB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02012/0.3524, allocations: 1.622 MB / 0.5382 GB, free: 8.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3525, allocations: 56.84 kB / 0.5382 GB, free: 8.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3526, allocations: 131.6 kB / 0.5384 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3527, allocations: 33.7 kB / 0.5384 GB, free: 8.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.3527, allocations: 89.38 kB / 0.5385 GB, free: 8.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.3528, allocations: 41.02 kB / 0.5385 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3529, allocations: 45.66 kB / 0.5386 GB, free: 8.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3531, allocations: 322.4 kB / 0.5389 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/0.3537, allocations: 200.2 kB / 0.5391 GB, free: 7.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.3544, allocations: 212.7 kB / 0.5393 GB, free: 7.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.3556, allocations: 387.1 kB / 0.5396 GB, free: 7.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3556, allocations: 1.281 kB / 0.5396 GB, free: 7.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001313/0.3569, allocations: 454.8 kB / 0.5401 GB, free: 7.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3569, allocations: 6.25 kB / 0.5401 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.357, allocations: 0 / 0.5401 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.357, allocations: 1.719 kB / 0.5401 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.3575, allocations: 66.97 kB / 0.5401 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3575, allocations: 1.156 kB / 0.5401 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.358, allocations: 44.42 kB / 0.5402 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.358, allocations: 13.36 kB / 0.5402 GB, free: 7.348 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.0001322/0.3582, allocations: 117.2 kB / 0.5403 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.3582, allocations: 7.75 kB / 0.5403 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.3596, allocations: 365.6 kB / 0.5407 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3596, allocations: 4 kB / 0.5407 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3596, allocations: 4.906 kB / 0.5407 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3597, allocations: 106.7 kB / 0.5408 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.3597, allocations: 1.219 kB / 0.5408 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.3601, allocations: 45.3 kB / 0.5408 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.3602, allocations: 7.406 kB / 0.5408 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001566/0.3618, allocations: 427.3 kB / 0.5412 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001269/0.363, allocations: 491.8 kB / 0.5417 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005518/0.3636, allocations: 141.4 kB / 0.5418 GB, free: 6.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.32e-05/0.3637, allocations: 110.6 kB / 0.5419 GB, free: 6.137 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3637, allocations: 0 / 0.5419 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.3654, allocations: 467.5 kB / 0.5424 GB, free: 5.891 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006333/0.366, allocations: 0.647 MB / 0.543 GB, free: 5.25 MB / 398.1 MB Notification: Performance of Templates: time 0.01348/0.3795, allocations: 8.803 MB / 0.5516 GB, free: 12.95 MB / 414.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 -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