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.00133/0.00133, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001538/0.001538, allocations: 217.9 kB / 23.73 MB, free: 4.164 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2423/0.2423, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.00235/0.00235, allocations: 63.91 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3351, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002589/0.3377, allocations: 1.44 MB / 0.5625 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3397, allocations: 1.286 MB / 0.5637 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.3398, allocations: 0 / 0.5637 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3399, allocations: 31.78 kB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.3401, allocations: 55.48 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.3406, allocations: 223.1 kB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.3407, allocations: 59.66 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.645e-05/0.3408, allocations: 4 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.3409, allocations: 23.86 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.3409, allocations: 23.86 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3409, allocations: 8 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005494/0.3415, allocations: 271.7 kB / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.3415, allocations: 7.922 kB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.3415, allocations: 23.88 kB / 0.5644 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.342, allocations: 265.7 kB / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.342, allocations: 0 / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.342, allocations: 0 / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.342, allocations: 0 / 0.5647 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.0005265/0.3425, allocations: 345.5 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3425, allocations: 12.03 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3426, allocations: 8.891 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3427, allocations: 121.1 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3427, allocations: 384 / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3427, allocations: 12.36 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3429, allocations: 69.75 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3429, allocations: 3.938 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3429, allocations: 0 / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3429, allocations: 0 / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/0.343, allocations: 63.94 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.3432, allocations: 137.2 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3433, allocations: 54.56 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.3434, allocations: 44.78 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.3434, allocations: 19.98 kB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3435, allocations: 30.56 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3435, allocations: 0 / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02103/0.3645, allocations: 1.646 MB / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3645, allocations: 51.41 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.3647, allocations: 134.1 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.3647, allocations: 29.7 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.3648, allocations: 88.14 kB / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.3649, allocations: 39.64 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.365, allocations: 41.69 kB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3651, allocations: 326.8 kB / 0.5679 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006623/0.3658, allocations: 211.8 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/0.3664, allocations: 207.1 kB / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.3677, allocations: 392.6 kB / 0.5686 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3677, allocations: 4 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001466/0.3692, allocations: 457.4 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.3692, allocations: 8 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3692, allocations: 0 / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3693, allocations: 0 / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.3699, allocations: 67.92 kB / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.3699, allocations: 4 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.3703, allocations: 39.97 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.3703, allocations: 7.984 kB / 0.5692 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.0001627/0.3705, allocations: 125.7 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.3705, allocations: 7.953 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.372, allocations: 366.1 kB / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.372, allocations: 0 / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.372, allocations: 0 / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.372, allocations: 0 / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.375, allocations: 0.7071 MB / 0.5704 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.375, allocations: 3.938 kB / 0.5704 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.3755, allocations: 64.03 kB / 0.5704 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.3755, allocations: 4 kB / 0.5704 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.3755, allocations: 11.98 kB / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3755, allocations: 0 / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3755, allocations: 0 / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.3768, allocations: 425.8 kB / 0.5709 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3769, allocations: 31.91 kB / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.377, allocations: 0 / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.3774, allocations: 43.95 kB / 0.5709 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.3775, allocations: 15.92 kB / 0.5709 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3775, allocations: 4 kB / 0.5709 GB, free: 9.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.963e-05/0.3776, allocations: 109.7 kB / 0.571 GB, free: 9.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3776, allocations: 3.938 kB / 0.5711 GB, free: 9.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007142/0.3783, allocations: 167.6 kB / 0.5712 GB, free: 9.484 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.0007185/0.379, allocations: 250.7 kB / 0.5715 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.3804, allocations: 371.5 kB / 0.5718 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3804, allocations: 0 / 0.5718 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.381, allocations: 144 kB / 0.5719 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3814, allocations: 21.48 kB / 0.572 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.384, allocations: 0.5032 MB / 0.5725 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.675e-05/0.3841, allocations: 83.88 kB / 0.5725 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.3844, allocations: 40.64 kB / 0.5726 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3845, allocations: 27.41 kB / 0.5726 GB, free: 8 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3845, allocations: 0 / 0.5726 GB, free: 8 MB / 414.1 MB Notification: Performance of Templates: time 0.01514/0.3996, allocations: 8.981 MB / 0.5814 GB, free: 15.03 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/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.50030705332756]