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.001112/0.001112, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 210.7 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.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2011/0.2011, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 79.81 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3012, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002338/0.3035, allocations: 1.467 MB / 0.5331 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.3055, allocations: 1.44 MB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.3055, allocations: 1.375 kB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.3057, allocations: 33.41 kB / 0.5345 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.3059, allocations: 56.05 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.3064, allocations: 222.5 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.824e-05/0.3065, allocations: 55.09 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.3066, allocations: 4.125 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.3066, allocations: 32.23 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.3067, allocations: 25.48 kB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3067, allocations: 2.75 kB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/0.3073, allocations: 334.7 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.3073, allocations: 10.38 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.3073, allocations: 33.14 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.3078, allocations: 274.9 kB / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3078, allocations: 0 / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3078, allocations: 0 / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3078, allocations: 0 / 0.5355 GB, free: 10.67 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.0004941/0.3083, allocations: 416.2 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3083, allocations: 9.156 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3084, allocations: 8.312 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3085, allocations: 177.6 kB / 0.5361 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3085, allocations: 10.69 kB / 0.5361 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3086, allocations: 2.531 kB / 0.5361 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3087, allocations: 67.7 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3087, allocations: 3.984 kB / 0.5362 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3087, allocations: 5.219 kB / 0.5362 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3088, allocations: 1.188 kB / 0.5362 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.326e-05/0.3088, allocations: 57.75 kB / 0.5363 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.309, allocations: 189.5 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.402e-05/0.3091, allocations: 61.81 kB / 0.5365 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.3092, allocations: 43.22 kB / 0.5365 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.273e-05/0.3093, allocations: 20.7 kB / 0.5366 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3093, allocations: 39.5 kB / 0.5366 GB, free: 9.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3093, allocations: 0 / 0.5366 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02121/0.3305, allocations: 1.63 MB / 0.5382 GB, free: 8.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3306, allocations: 52.69 kB / 0.5382 GB, free: 8.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3307, allocations: 133.5 kB / 0.5384 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.3308, allocations: 31.45 kB / 0.5384 GB, free: 8.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.3308, allocations: 81.33 kB / 0.5385 GB, free: 8.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.3309, allocations: 43.8 kB / 0.5385 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.331, allocations: 46.75 kB / 0.5386 GB, free: 8.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3311, allocations: 321.3 kB / 0.5389 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.3318, allocations: 201.9 kB / 0.5391 GB, free: 7.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.3324, allocations: 216.5 kB / 0.5393 GB, free: 7.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.3337, allocations: 378.8 kB / 0.5396 GB, free: 7.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3338, allocations: 11.94 kB / 0.5396 GB, free: 7.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001403/0.3352, allocations: 450.9 kB / 0.5401 GB, free: 7.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3352, allocations: 9.406 kB / 0.5401 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3352, allocations: 1.25 kB / 0.5401 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3352, allocations: 0 / 0.5401 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.3358, allocations: 64.81 kB / 0.5401 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3358, allocations: 4 kB / 0.5401 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.3362, allocations: 36.77 kB / 0.5402 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.3363, allocations: 9.703 kB / 0.5402 GB, free: 7.355 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.0001434/0.3364, allocations: 125.2 kB / 0.5403 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.3364, allocations: 7.25 kB / 0.5403 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.3379, allocations: 361.6 kB / 0.5407 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3379, allocations: 6.375 kB / 0.5407 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3379, allocations: 0 / 0.5407 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3379, allocations: 0 / 0.5407 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.3408, allocations: 0.782 MB / 0.5414 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3408, allocations: 1.25 kB / 0.5414 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.3413, allocations: 64.91 kB / 0.5415 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3413, allocations: 1.219 kB / 0.5415 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.3414, allocations: 8.234 kB / 0.5415 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3414, allocations: 2.219 kB / 0.5415 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.3414, allocations: 9 kB / 0.5415 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.3427, allocations: 417.2 kB / 0.5419 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3428, allocations: 111.7 kB / 0.542 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.3429, allocations: 2.406 kB / 0.542 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.3433, allocations: 45.45 kB / 0.5421 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.3434, allocations: 16.53 kB / 0.5421 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.3434, allocations: 9.516 kB / 0.5421 GB, free: 5.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.487e-05/0.3435, allocations: 97.47 kB / 0.5422 GB, free: 5.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3435, allocations: 1.125 kB / 0.5422 GB, free: 5.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006276/0.3441, allocations: 179.5 kB / 0.5423 GB, free: 5.844 MB / 398.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.0007753/0.3449, allocations: 242.8 kB / 0.5426 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.3463, allocations: 377 kB / 0.5429 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3463, allocations: 0 / 0.5429 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.3469, allocations: 147.5 kB / 0.5431 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3473, allocations: 23.03 kB / 0.5431 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.3499, allocations: 0.5295 MB / 0.5436 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.3502, allocations: 0.6924 MB / 0.5443 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3504, allocations: 27.41 kB / 0.5443 GB, free: 4.312 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3504, allocations: 4 kB / 0.5443 GB, free: 4.309 MB / 398.1 MB Notification: Performance of Templates: time 0.007659/0.3581, allocations: 4.615 MB / 0.5488 GB, free: 15.68 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