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.001372/0.001372, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00216/0.00216, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2364/0.2364, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.002002/0.002002, allocations: 75.88 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4466, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00337/0.45, allocations: 1.447 MB / 0.5632 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.4522, allocations: 1.29 MB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.4522, allocations: 0 / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.4524, allocations: 31.77 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.4527, allocations: 47.5 kB / 0.5646 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.4532, allocations: 227.1 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.4533, allocations: 51.78 kB / 0.5648 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.4534, allocations: 4 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.4535, allocations: 31.78 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.4535, allocations: 27.86 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.4536, allocations: 0 / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005998/0.4542, allocations: 287.7 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.4542, allocations: 15.92 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.4542, allocations: 23.81 kB / 0.5652 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.4547, allocations: 265.7 kB / 0.5655 GB, free: 460 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4547, allocations: 4 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4547, allocations: 0 / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4547, allocations: 0 / 0.5655 GB, free: 456 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.0006305/0.4553, allocations: 341.5 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4553, allocations: 8.031 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.4554, allocations: 12.89 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.4555, allocations: 110.5 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4556, allocations: 12.38 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.4556, allocations: 384 / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.4557, allocations: 69.8 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4557, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4558, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4558, allocations: 4 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.4559, allocations: 67.89 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.4561, allocations: 137.2 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.4562, allocations: 50.56 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.4562, allocations: 40.84 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.4563, allocations: 23.98 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.4563, allocations: 34.56 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.4563, allocations: 3.938 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02102/0.4773, allocations: 1.638 MB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.4774, allocations: 55.41 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4776, allocations: 134.1 kB / 0.5681 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.4776, allocations: 29.7 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.4777, allocations: 84.14 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.4777, allocations: 43.62 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4779, allocations: 49.69 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.478, allocations: 318.8 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/0.4787, allocations: 203.9 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006891/0.4794, allocations: 210.7 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.4808, allocations: 392.6 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4808, allocations: 0 / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001472/0.4823, allocations: 463 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4823, allocations: 4 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4823, allocations: 0 / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4823, allocations: 4 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.4829, allocations: 67.94 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.4829, allocations: 4.219 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.4833, allocations: 39.91 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.4834, allocations: 11.97 kB / 0.57 GB, free: 11.64 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.0001605/0.4835, allocations: 117.8 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.4836, allocations: 19.89 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.4851, allocations: 370.1 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4851, allocations: 0 / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4851, allocations: 0 / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4851, allocations: 0 / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.4881, allocations: 0.6955 MB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4881, allocations: 4 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.4886, allocations: 71.97 kB / 0.5712 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4886, allocations: 0 / 0.5712 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.4886, allocations: 7.984 kB / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4886, allocations: 0 / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4886, allocations: 4 kB / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.4901, allocations: 421.8 kB / 0.5716 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4902, allocations: 31.91 kB / 0.5716 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.4902, allocations: 7.938 kB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.4907, allocations: 43.95 kB / 0.5717 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.4907, allocations: 11.92 kB / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.4908, allocations: 8 kB / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.4909, allocations: 102.3 kB / 0.5718 GB, free: 9.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4909, allocations: 0 / 0.5718 GB, free: 9.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006981/0.4916, allocations: 171.6 kB / 0.572 GB, free: 9.496 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.0007202/0.4923, allocations: 262.7 kB / 0.5722 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.4937, allocations: 363.7 kB / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4937, allocations: 0 / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00063/0.4944, allocations: 152 kB / 0.5727 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4948, allocations: 11.98 kB / 0.5727 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.4976, allocations: 0.5106 MB / 0.5732 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.4977, allocations: 75.89 kB / 0.5733 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.4979, allocations: 44.64 kB / 0.5733 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.4981, allocations: 27.41 kB / 0.5734 GB, free: 8.004 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4981, allocations: 0 / 0.5734 GB, free: 8.004 MB / 414.1 MB Notification: Performance of Templates: time 0.01652/0.5146, allocations: 9.007 MB / 0.5822 GB, free: 15 MB / 430.1 MB " [Timeout remaining time 659] 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 -s cvode -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: 5.584044179006014]