Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 46.97 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.379, allocations: 66.03 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002876/0.3819, allocations: 1.448 MB / 0.5632 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3841, allocations: 1.282 MB / 0.5645 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.3841, allocations: 0 / 0.5645 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.3843, allocations: 35.77 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.3845, allocations: 51.5 kB / 0.5646 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.385, allocations: 226.8 kB / 0.5648 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.3851, allocations: 59.7 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.3852, allocations: 4 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.072e-05/0.3853, allocations: 23.86 kB / 0.5649 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.3853, allocations: 27.86 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.3853, allocations: 4 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.3859, allocations: 271.7 kB / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.3859, allocations: 3.938 kB / 0.5652 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.3859, allocations: 27.86 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.3864, allocations: 265.7 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3864, allocations: 0 / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3864, allocations: 0 / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.3864, allocations: 0 / 0.5654 GB, free: 500 kB / 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.0006307/0.387, allocations: 349.5 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3871, allocations: 12.03 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.3871, allocations: 8.891 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3873, allocations: 118.4 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3873, allocations: 4.359 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.3873, allocations: 12.38 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3875, allocations: 65.81 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3875, allocations: 0 / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3875, allocations: 0 / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3875, allocations: 3.938 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3876, allocations: 63.95 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.3878, allocations: 137.2 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.966e-05/0.3879, allocations: 54.55 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.388, allocations: 40.84 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/0.388, allocations: 19.98 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3881, allocations: 30.56 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3881, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0201/0.4082, allocations: 1.646 MB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.4082, allocations: 51.41 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.4084, allocations: 141 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.4084, allocations: 29.7 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.4085, allocations: 88.14 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.4085, allocations: 39.64 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.4086, allocations: 49.67 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4088, allocations: 318.8 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/0.4094, allocations: 207.9 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/0.4101, allocations: 203.9 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.4114, allocations: 392.6 kB / 0.5694 GB, free: 12.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4114, allocations: 0 / 0.5694 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001404/0.4128, allocations: 466.4 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4128, allocations: 4 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4128, allocations: 0 / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4128, allocations: 0 / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.4133, allocations: 67.92 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.4133, allocations: 0 / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.4138, allocations: 39.97 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.4138, allocations: 7.984 kB / 0.5699 GB, free: 11.68 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.0001382/0.4139, allocations: 125.7 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.414, allocations: 7.953 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.4154, allocations: 366.1 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4154, allocations: 0 / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4154, allocations: 0 / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4154, allocations: 4 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.4182, allocations: 0.7071 MB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4182, allocations: 0 / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.4187, allocations: 67.97 kB / 0.5712 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.4187, allocations: 4 kB / 0.5712 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.4187, allocations: 11.98 kB / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4187, allocations: 0 / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4187, allocations: 4 kB / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.4201, allocations: 425.7 kB / 0.5716 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4202, allocations: 35.91 kB / 0.5716 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.4202, allocations: 0 / 0.5716 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.4207, allocations: 47.95 kB / 0.5717 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.4207, allocations: 11.92 kB / 0.5717 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.4207, allocations: 4 kB / 0.5717 GB, free: 9.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.4208, allocations: 107.2 kB / 0.5718 GB, free: 9.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4208, allocations: 0 / 0.5718 GB, free: 9.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007591/0.4216, allocations: 167.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.0007099/0.4223, allocations: 242.8 kB / 0.5722 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.4237, allocations: 359.7 kB / 0.5725 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4237, allocations: 0 / 0.5725 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.4242, allocations: 148 kB / 0.5727 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.4246, allocations: 24.14 kB / 0.5727 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.4272, allocations: 0.5322 MB / 0.5732 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.229e-05/0.4273, allocations: 84.16 kB / 0.5733 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.4274, allocations: 23.42 kB / 0.5733 GB, free: 8.059 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4274, allocations: 0 / 0.5733 GB, free: 8.059 MB / 414.1 MB Notification: Performance of Templates: time 0.008015/0.4355, allocations: 4.653 MB / 0.5779 GB, free: 3.398 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 8.043584316968918]