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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001633, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 212.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2717/0.2717, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB
"
[Timeout remaining time 179]
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=5002,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=5002,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") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 79.86 kB / 0.4971 GB, free: 7.598 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3879, allocations: 66.03 MB / 0.5615 GB, free: 4.609 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003061/0.391, allocations: 1.479 MB / 0.563 GB, free: 3.121 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002372/0.3934, allocations: 1.469 MB / 0.5644 GB, free: 1.645 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.3934, allocations: 0 / 0.5644 GB, free: 1.645 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.3936, allocations: 35.77 kB / 0.5644 GB, free: 1.609 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.3939, allocations: 51.48 kB / 0.5645 GB, free: 1.562 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.3945, allocations: 223.1 kB / 0.5647 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3946, allocations: 55.72 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3947, allocations: 4 kB / 0.5648 GB, free: 1.285 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.3947, allocations: 31.8 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.126e-05/0.3948, allocations: 27.86 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3948, allocations: 0 / 0.5648 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006413/0.3954, allocations: 335.6 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.3955, allocations: 7.984 kB / 0.5652 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.3955, allocations: 23.81 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.396, allocations: 285.8 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.396, allocations: 4 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.432e-06/0.396, allocations: 0 / 0.5655 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.793e-06/0.396, allocations: 0 / 0.5655 GB, free: 0.5898 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.0005927/0.3966, allocations: 345.5 kB / 0.5658 GB, free: 228 kB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3966, allocations: 8.031 kB / 0.5658 GB, free: 220 kB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.3967, allocations: 8.891 kB / 0.5658 GB, free: 212 kB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3968, allocations: 120.6 kB / 0.5659 GB, free: 68 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3968, allocations: 8.312 kB / 0.5659 GB, free: 60 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.3969, allocations: 384 / 0.5659 GB, free: 60 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3971, allocations: 73.8 kB / 0.566 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3971, allocations: 0 / 0.566 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3971, allocations: 7.984 kB / 0.566 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3971, allocations: 4 kB / 0.566 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3972, allocations: 59.95 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.3974, allocations: 156.6 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3976, allocations: 62.44 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.3976, allocations: 44.84 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.483e-05/0.3977, allocations: 15.98 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3977, allocations: 38.5 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3977, allocations: 0 / 0.5664 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of matching and sorting (n=12): time 0.02128/0.419, allocations: 1.63 MB / 0.568 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.419, allocations: 59.34 kB / 0.568 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.4192, allocations: 134.1 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.4192, allocations: 25.7 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.4193, allocations: 88.08 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.4193, allocations: 43.64 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4194, allocations: 49.69 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001403/0.4196, allocations: 318.8 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/0.4203, allocations: 207.9 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.421, allocations: 211.4 kB / 0.569 GB, free: 12.71 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.4224, allocations: 392.6 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4224, allocations: 0 / 0.5694 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.001518/0.4239, allocations: 461.4 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4239, allocations: 6.031 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4239, allocations: 0 / 0.5699 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4239, allocations: 0 / 0.5699 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.4245, allocations: 63.94 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.4245, allocations: 7.938 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.425, allocations: 43.95 kB / 0.57 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.425, allocations: 11.98 kB / 0.57 GB, free: 11.74 MB / 414.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.0001408/0.4251, allocations: 119.1 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.4252, allocations: 7.953 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.4267, allocations: 366.1 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4267, allocations: 0 / 0.5705 GB, free: 11.24 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4267, allocations: 0 / 0.5705 GB, free: 11.24 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4267, allocations: 0 / 0.5705 GB, free: 11.24 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.4298, allocations: 0.7612 MB / 0.5712 GB, free: 10.42 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.4298, allocations: 7.984 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.4303, allocations: 59.94 kB / 0.5713 GB, free: 10.36 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4303, allocations: 96 / 0.5713 GB, free: 10.36 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.4303, allocations: 12.09 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.627e-06/0.4303, allocations: 11.92 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4303, allocations: 3.938 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.4318, allocations: 421.8 kB / 0.5717 GB, free: 9.891 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.4318, allocations: 27.91 kB / 0.5717 GB, free: 9.863 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.4319, allocations: 4 kB / 0.5717 GB, free: 9.859 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.4324, allocations: 43.95 kB / 0.5718 GB, free: 9.816 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.4324, allocations: 11.92 kB / 0.5718 GB, free: 9.805 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.4324, allocations: 8 kB / 0.5718 GB, free: 9.797 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 7.706e-05/0.4325, allocations: 109 kB / 0.5719 GB, free: 9.691 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4325, allocations: 0 / 0.5719 GB, free: 9.691 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0006333/0.4331, allocations: 171.6 kB / 0.572 GB, free: 9.523 MB / 414.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.0006487/0.4338, allocations: 250.7 kB / 0.5723 GB, free: 9.27 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001414/0.4352, allocations: 359.7 kB / 0.5726 GB, free: 8.918 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4352, allocations: 4 kB / 0.5726 GB, free: 8.914 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006451/0.4358, allocations: 144 kB / 0.5728 GB, free: 8.773 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.4362, allocations: 15.98 kB / 0.5728 GB, free: 8.758 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.439, allocations: 0.5075 MB / 0.5733 GB, free: 8.215 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4393, allocations: 0.6929 MB / 0.574 GB, free: 7.496 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002052/0.4395, allocations: 44.75 kB / 0.574 GB, free: 7.449 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.4396, allocations: 31.41 kB / 0.574 GB, free: 7.418 MB / 414.1 MB
Notification: Performance of SimCode: time 9.41e-07/0.4396, allocations: 0 / 0.574 GB, free: 7.418 MB / 414.1 MB
Notification: Performance of Templates: time 0.01487/0.4545, allocations: 8.625 MB / 0.5825 GB, free: 14.79 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.752644268795848]