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.001486/0.001486, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.89 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3527, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002492/0.3553, allocations: 1.469 MB / 0.5331 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3572, allocations: 1.446 MB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.3573, allocations: 0 / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.3575, allocations: 26.84 kB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.3578, allocations: 46.69 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.3584, allocations: 234.5 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3585, allocations: 56.45 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.3585, allocations: 12.11 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.3586, allocations: 20.3 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.3587, allocations: 25.48 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3587, allocations: 1.375 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005971/0.3593, allocations: 338.7 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.3593, allocations: 14.59 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.3594, allocations: 30.42 kB / 0.5353 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.3598, allocations: 281.2 kB / 0.5355 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3598, allocations: 1.125 kB / 0.5355 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3598, allocations: 0 / 0.5355 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3599, allocations: 0 / 0.5355 GB, free: 10.68 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.0005414/0.3604, allocations: 412.3 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3605, allocations: 9.531 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.3605, allocations: 7.344 kB / 0.536 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3606, allocations: 172.6 kB / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3606, allocations: 1.438 kB / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.3607, allocations: 7.75 kB / 0.5361 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3608, allocations: 79.62 kB / 0.5362 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3608, allocations: 0 / 0.5362 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-06/0.3609, allocations: 0 / 0.5362 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3609, allocations: 1.156 kB / 0.5362 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.986e-05/0.361, allocations: 53.62 kB / 0.5363 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.3612, allocations: 194.3 kB / 0.5364 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.149e-05/0.3613, allocations: 61.72 kB / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.3613, allocations: 40.16 kB / 0.5365 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.04e-05/0.3614, allocations: 19.33 kB / 0.5366 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3614, allocations: 35.62 kB / 0.5366 GB, free: 9.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3614, allocations: 3.938 kB / 0.5366 GB, free: 9.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.01997/0.3814, allocations: 1.631 MB / 0.5382 GB, free: 8.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3815, allocations: 52.59 kB / 0.5382 GB, free: 8.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3816, allocations: 135.9 kB / 0.5384 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3817, allocations: 30.77 kB / 0.5384 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.3817, allocations: 89.19 kB / 0.5385 GB, free: 8.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.3818, allocations: 36.36 kB / 0.5385 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3819, allocations: 50.31 kB / 0.5386 GB, free: 8.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.382, allocations: 321.1 kB / 0.5389 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.3826, allocations: 201.1 kB / 0.5391 GB, free: 7.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.3832, allocations: 213.8 kB / 0.5393 GB, free: 7.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.3845, allocations: 382.8 kB / 0.5396 GB, free: 7.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3845, allocations: 0 / 0.5396 GB, free: 7.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00136/0.3859, allocations: 455.4 kB / 0.5401 GB, free: 7.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3859, allocations: 9.438 kB / 0.5401 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3859, allocations: 0 / 0.5401 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3859, allocations: 1.188 kB / 0.5401 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.3865, allocations: 64.78 kB / 0.5401 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3865, allocations: 0 / 0.5401 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.3869, allocations: 45.42 kB / 0.5402 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.3869, allocations: 7.797 kB / 0.5402 GB, free: 7.379 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.0001166/0.387, allocations: 121.9 kB / 0.5403 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.3871, allocations: 7.125 kB / 0.5403 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.3885, allocations: 359 kB / 0.5407 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3885, allocations: 5.25 kB / 0.5407 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3885, allocations: 3.938 kB / 0.5407 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3885, allocations: 1.25 kB / 0.5407 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.3913, allocations: 0.7812 MB / 0.5414 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3913, allocations: 1.031 kB / 0.5414 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.3918, allocations: 68.88 kB / 0.5415 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.3918, allocations: 2.156 kB / 0.5415 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3918, allocations: 11.45 kB / 0.5415 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3918, allocations: 1.156 kB / 0.5415 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3918, allocations: 6.125 kB / 0.5415 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.3931, allocations: 417.6 kB / 0.5419 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3932, allocations: 112.1 kB / 0.542 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.3933, allocations: 1.094 kB / 0.542 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.3937, allocations: 49.89 kB / 0.5421 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.3937, allocations: 8.438 kB / 0.5421 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.3938, allocations: 17.3 kB / 0.5421 GB, free: 5.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.3938, allocations: 99.77 kB / 0.5422 GB, free: 5.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3938, allocations: 0 / 0.5422 GB, free: 5.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006947/0.3945, allocations: 172.2 kB / 0.5423 GB, free: 5.867 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.0006741/0.3952, allocations: 240.6 kB / 0.5426 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3965, allocations: 380.6 kB / 0.5429 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3965, allocations: 3.938 kB / 0.5429 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.3971, allocations: 143.8 kB / 0.5431 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.3975, allocations: 18.53 kB / 0.5431 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3999, allocations: 0.5297 MB / 0.5436 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.4002, allocations: 0.7002 MB / 0.5443 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.4004, allocations: 27.41 kB / 0.5443 GB, free: 4.363 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4004, allocations: 0 / 0.5443 GB, free: 4.363 MB / 398.1 MB Notification: Performance of Templates: time 0.007208/0.4076, allocations: 4.628 MB / 0.5488 GB, free: 15.73 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